emacs-rcp  

tramp ($Id: tramp.el,v 2.0.2.3 2001/03/28 21:44:30 grossjoh Exp $); Password handling Problem

Eric Masson
Sun, 03 Jun 2001 02:18:29 -0700


Enter your bug report in this message, including as much detail as you
possibly can about the problem, what you did to cause it and what the
local and remote machines are.

If you can give a simple set of instructions to make this bug happen
reliably, please include those.  Thank you for helping kill bugs in
TRAMP.
--bug report follows this line--

Hello,

When trying to use local inline method sudm to access a file :
/r@sudm:root@localhost:/etc/make.conf

I'm facing the following problem

Loading env...
Loading env...done
Loading passwd...
Loading passwd...done
Wrong type argument: listp, "Password:"

If I previously have used sudo in a shell buffer everything goes
smoothly.

Thanks in advance

Eric Masson

Contents of buffer *tramp/sudm root@localhost*
<--


Process *tramp/sudm root@localhost* exited abnormally with code 1

-->
Contents of buffer *debug tramp/sudm root@localhost*
<--
Password:
-->

Emacs  : XEmacs 21.1 (patch 14) "Cuyahoga Valley" [Lucid] (i386--freebsd) of Sun Mar 
18 2001 on notbsdems.nantes.kisoft-services.com
Package: tramp ($Id: tramp.el,v 2.0.2.3 2001/03/28 21:44:30 grossjoh Exp $)

current state:
==============
(setq
 tramp-ls-command nil
 tramp-test-groks-nt nil
 tramp-file-exists-command nil
 tramp-current-method nil
 tramp-current-user nil
 tramp-current-host nil
 tramp-auto-save-directory nil
 tramp-default-method "scp"
 tramp-rsh-end-of-line "\n"
 tramp-remote-path '("/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin" "/usr/ccs/bin" 
"/local/bin" "/local/freeware/bin"
                     "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin")
 tramp-login-prompt-regexp ".*ogin: *$"
 tramp-password-prompt-regexp "^.*\\([pP]assword\\|passphrase.*\\):? *$"
 tramp-wrong-passwd-regexp "^.*\\(Permission denied.\\|Login [Ii]ncorrect\\|Received 
signal [0-9]+\\|Connection \\(refused\\|closed\\)\\|Sorry, try again.\\|Name or 
service not known\\).*$"
 tramp-temp-name-prefix "tramp."
 tramp-file-name-structure 
'("\\`/r\\(@\\([a-z0-9]+\\)\\)?:\\(\\([-a-z0-9_#]+\\)@\\)?\\([-a-z0-9.]+\\):\\(.*\\)\\'"
 2
                             4 5 6)
 tramp-file-name-regexp "\\`/r[@:]"
 tramp-make-tramp-file-format "/r@%m:%u@%h:%p"
 tramp-end-of-output "/////"
 shell-prompt-pattern "^[^#$%>\n]*[#$%>] *"
 backup-by-copying nil
 backup-by-copying-when-linked nil
 backup-by-copying-when-mismatch nil
 )