diff options
| author | Michael Albinus | 2024-11-14 17:29:07 +0100 |
|---|---|---|
| committer | Michael Albinus | 2024-11-14 17:29:07 +0100 |
| commit | 6d42c70fd3e2e63c8f993a10c83dee7425f185d5 (patch) | |
| tree | b96c24a289023d7959d1ba87e21f5cab36748c47 /doc/misc | |
| parent | 70273dc9f7e01e5330abedb44b1c3e46430fbc69 (diff) | |
| download | emacs-6d42c70fd3e2e63c8f993a10c83dee7425f185d5.tar.gz emacs-6d42c70fd3e2e63c8f993a10c83dee7425f185d5.zip | |
Fix errors in Tramp's password cache expiration
* doc/misc/tramp.texi (Password handling): Mention expiration of
cached passwords when a session timeout happens.
* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection): Rename
file property "process-attributes" to connection property
" process-attributes".
* lisp/net/tramp.el (tramp-read-passwd):
* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-send-command):
Rename connection property "password-vector" to "pw-vector".
* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
Use connection property "hop-vector".
* lisp/net/tramp.el (tramp-get-process-attributes)
(tramp-handle-list-system-processes): Rename file property
"process-attributes" to connection property " process-attributes".
(tramp-compute-multi-hops): Check for
`tramp-sh-file-name-handler-p', it works only for this.
(tramp-action-password, tramp-process-actions): Use connection
property "hop-vector".
(tramp-read-passwd, tramp-clear-passwd): Rewrite. (Bug#74105)
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/tramp.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 05bd62b7714..d429ef33780 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -2258,6 +2258,12 @@ this interactively. | |||
| 2258 | @vindex auth-source-do-cache | 2258 | @vindex auth-source-do-cache |
| 2259 | Set @code{auth-source-do-cache} to @code{nil} to disable password caching. | 2259 | Set @code{auth-source-do-cache} to @code{nil} to disable password caching. |
| 2260 | 2260 | ||
| 2261 | For connections which use a session-timeout, like @option{sudo}, | ||
| 2262 | @option{doas} and @option{run0}, the password cache is expired by | ||
| 2263 | @value{tramp} when the session expires (@pxref{Predefined connection | ||
| 2264 | information}). However, this makes only sense if the password cannot | ||
| 2265 | be retrieved from a persistent authentication file or store. | ||
| 2266 | |||
| 2261 | 2267 | ||
| 2262 | @node Connection caching | 2268 | @node Connection caching |
| 2263 | @section Reusing connection related information | 2269 | @section Reusing connection related information |