help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

find-file-root does not work


From: henry atting
Subject: find-file-root does not work
Date: Wed, 28 Feb 2007 18:50:56 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]