aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMichael Albinus2018-11-21 13:23:01 +0100
committerMichael Albinus2018-11-21 13:23:01 +0100
commitfb200f3e5775fa2811ba270c2a7b0295b42539a0 (patch)
treedc9975797d2d784d82d7fc1c05632fd9d9eba559 /etc
parent166f6274b4118344612e60fba831e223728f3e89 (diff)
downloademacs-fb200f3e5775fa2811ba270c2a7b0295b42539a0.tar.gz
emacs-fb200f3e5775fa2811ba270c2a7b0295b42539a0.zip
Let Tramp sudo sessions expire after a timeout
* doc/misc/tramp.texi (Inline methods) <sudo, doas>: Both methods expire the underlying session per default. (Predefined connection information): Explain "session-timeout". * etc/NEWS: Mention Tramp session expiration. * lisp/net/tramp-sh.el (tramp-methods) <sudo, doas>: Add `tramp-session-timeout'. (tramp-timeout-session): New defun. (tramp-maybe-open-connection): Handle session timeout. * lisp/net/tramp.el (tramp-methods): Adapt docstring. (tramp-equal-remote): Extend.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 4ed312c7216..13d660812d6 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -832,6 +832,11 @@ Tramp for some look-alike remote file names.
832*** For some connection methods, like "su" or "sudo", the host name in 832*** For some connection methods, like "su" or "sudo", the host name in
833ad-hoc multi-hop file names must match the previous hop. 833ad-hoc multi-hop file names must match the previous hop.
834 834
835+++
836*** For the connection methods "sudo" and "doas" there exists a
837timeout, after which the underlying session is disabled. This is for
838security reasons.
839
835** Rcirc 840** Rcirc
836 841
837--- 842---