|
Bugzilla – Full Text Bug Listing |
| Summary: | Man page description of credential caching is misleading/incomplete | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Bill Dietrich <sudobz4> |
| Component: | Documentation | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | low | ||
| Priority: | low | ||
| Version: | 1.8.21 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Bill Dietrich
2019-10-30 04:37:36 MDT
Sudo's behavior here is configurable, which is why the man page doesn't have a whole lot of detail. The behavior can be controlled via the "timestamp_type" option in sudoers and the sudoers man page includes a good description of it. It is probably worth pointing the user to that description from the sudo man page. Newer versions of sudo also include a sudoers_timestamp man page which has a lot of detail on how the time stamp file is stored and used. I've changed that text in sudoers to be: Security policies may support credential caching to allow the user to run sudo again for a period of time without requiring authentication. By default, the sudoers policy caches credentials on a per-terminal basis for 5 minutes. See the timestamp_type and timestamp_timeout options in sudoers(5) for more information. Closing due to wording changes in the manual. |