unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* find-file-root does not work
@ 2007-02-28 17:50 henry atting
  0 siblings, 0 replies; only message in thread
From: henry atting @ 2007-02-28 17:50 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

since I set up debian (testing) anew find-file-root does not
work anymore. It once worked with any emacs (21, 22 and 23
which I use currently), now with none of them, neither
invoked with -q.

,----
| Debugger entered--Lisp error: (error "Login failed")
|   signal(error ("Login failed"))
|   error("Login failed")
|   tramp-process-actions(#<process *tramp/sudo
|   root@localhost*> nil "sudo" "root" "localhost" 
| ((tramp-password-prompt-regexp tramp-action-password)
|   (tramp-login-prompt-regexp tramp-action-login) 
| (shell-prompt-pattern tramp-action-succeed) 
| (tramp-shell-prompt-pattern tramp-action-succeed) 
| (tramp-wrong-passwd-regexp tramp-action-permission-denied) 
| (tramp-yesno-prompt-regexp tramp-action-yesno)
|   (tramp-yn-prompt-regexp tramp-action-yn) 
| (tramp-terminal-prompt-regexp tramp-action-terminal) 
| (tramp-process-alive-regexp tramp-action-process-alive)))
|   tramp-open-connection-su(nil "sudo" "root" "localhost")
|   tramp-maybe-open-connection(nil "sudo" "root" "localhost")
|   tramp-send-command(nil "sudo" "root" "localhost" 
"( test -d /etc/hosts 2>/dev/null; echo tramp_exit_status $? )")
|   tramp-send-command-and-check(nil "sudo" "root" "localhost"
|   "test -d /etc/hosts" t)
| 
| and so on...
`----

If I try it with /su::/etc/hosts

,----
| Debugger entered--Lisp error: (error "Process has died")
|   signal(error ("Process has died"))
|   error("%s" "Process has died")
|   (condition-case act-on-choice (funcall (quote
|   icicle-find-file-w-wildcards) 
| (if ... ... ...)) (quit (icicle-try-switch-buffer orig-buff)
|   nil) 
| (error (icicle-try-switch-buffer orig-buff) nil (error "%s" ...)))
|   (let* ((orig-buff ...) (orig-window ...)
|   (icicle-candidate-action-fn ...)) nil
|  (condition-case act-on-choice (funcall ... ...) (quit
... nil) 
(error ... nil ...)) nil)
|   icicle-find-file()
|   call-interactively(icicle-find-file)
`----

And I find error messages like this:

,----
| su: Authentication failure
| Entschuldigung.
| 
| Process *tramp/su * exited abnormally with code 1
| 
| # Opening connection for `<root>' using `su'...
| # Waiting for prompts from remote shell
| # Waiting 60s for prompt from remote shell
| # Sending password
| $ ( test -d /etc/hosts 2>/dev/null; echo tramp_exit_status $? )
| 
| 
| Sorry, user atting is not allowed to execute '/bin/zsh' as root on argon.
| 
| Process *tramp/sudo root@localhost* exited abnormally with code 1
`----

But if I do a ssh - l root localhost 
in a terminal I have no problem to login.

What can I do?

henry

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-28 17:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-28 17:50 find-file-root does not work henry atting

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).