emacs-devel
[Top][All Lists]
Advanced

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

Re: sudo:: method in tramp possible security issue


From: Michael Albinus
Subject: Re: sudo:: method in tramp possible security issue
Date: Wed, 21 Nov 2018 13:26:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Michael Albinus <address@hidden> writes:

> The command `tramp-cleanup-connection' closes any background session for
> a Tramp connection, including removing cached passwords. Maybe we shall
> call this for sudo/su methods automatically after a given timeout, like
> the password expiration for sudo in a terminal. 5 minutes seem to be a
> sensible value to me.

I give it a try. I've pushed a change to the master branch, which
expires sudo and doas background sessions after 5 minutes. Check the
Tramp manual for details.

Let's see how it goes.

>> João

Best regards, Michael.



reply via email to

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