tramp-devel
[Top][All Lists]
Advanced

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

authinfo not working for `su'


From: Ulf Stegemann
Subject: authinfo not working for `su'
Date: Mon, 14 Jun 2010 11:33:38 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Hi,

with latest emacs trunk as of today, authentication via
`~/.authinfo.gpg' ceases to work for method `su':

/remote.host.org:/home

works while

/su::/home
/su:remote.host.org:/home

gives me a password prompt. The appropriate authinfo lines look like
this:

--8<--------------------------snip-------------------------->8---

machine remote.host.org port su login root password mysecret
machine localhost port su login root password mysecret

--8<--------------------------snap-------------------------->8---

Connections without su method work with both `ssh' and `scpc', `su' on
remote hosts is done with `ssh':

--8<--------------------------snip-------------------------->8---

(add-to-list 'tramp-default-method-alist
             '("\\`localhost\\'" "\\`root\\'" "su"))

(add-to-list 'tramp-default-proxies-alist
             '("\\.host\\.org\\'" "\\`root\\'" "/ssh:%h:"))

--8<--------------------------snap-------------------------->8---

Can anyone reproduce the problem or is there something wrong on my side?

Ulf





reply via email to

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