|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo -l asks for password before saying "nosireebob" | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Marc Haber <mh+sudo-bugzilla> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.9.6 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Marc Haber
2021-05-26 01:38:59 MDT
This is intended behavior that can be configured in sudoers via the listpw option. For example: Defaults listpw=never The default value for listpw is any, which means no password is required for users with sudo "ALL" permissions. The specifics of whether a password is required for "sudo -l" is really out of scope for the sudo man page since that is controlled by the policy plugin which in your case is the sudoers module (but it could be some other module). Sudo is behaving as documented. |