From: Michael Albinus <michael.albinus@gmx.de>
To: Jonathan Groll <lists@groll.co.za>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Tramp multi-hop on localhost: su:sudo
Date: Tue, 09 Jun 2009 06:08:09 +0200 [thread overview]
Message-ID: <87iqj6t5g6.fsf@gmx.de> (raw)
In-Reply-To: <20090608215748.GA5278@groll.co.za> (Jonathan Groll's message of "Mon, 8 Jun 2009 23:57:48 +0200")
Jonathan Groll <lists@groll.co.za> writes:
> Only one odd thing - even though I'd already established a tramp
> session as:
> /su:otheruser@localhost:
>
> When I opened my first buffer using "C-x C-f /sudo:root@localhost:"
> (from an active buffer 'owned' by otheruser) it seemed to ask for
> otheruser's password again, i.e. it first asked for a password for
> /su:otheruser@localhost: and then it asked for a password for:
> /sudo:root@localhost:
>
> So in total I ended up entering the password for otheruser 3 times -
> it seems like my first tramp session as 'otheruser' did not get
> "reused". I presume the above is because of the proxy also getting a
> tramp session?
Yes. However, Tramp can reuse passwords. What is your value of
`password-cache-expiry'? Usually, it is the number of seconds how long
passwords are cached. Setting it to `nil' disables the expiration.
See also
(info "(tramp)Password handling")
> Thank you and regards,
> Jonathan.
Best regards, Michael.
prev parent reply other threads:[~2009-06-09 4:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-18 10:18 Tramp multi-hop on localhost: su:sudo Jonathan Groll
2009-05-26 19:47 ` Michael Albinus
2009-06-07 16:54 ` Michael Albinus
2009-06-08 21:57 ` Jonathan Groll
2009-06-09 4:08 ` Michael Albinus [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iqj6t5g6.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=help-gnu-emacs@gnu.org \
--cc=lists@groll.co.za \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.