|
Bugzilla – Full Text Bug Listing |
| Summary: | Why a password challenge on "sudo -l"? | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Robert Nix <nix.robert> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.8.6 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Robert Nix
2015-06-17 08:31:13 MDT
"sudo -l" requires a password so that it is not possible for someone else to see a user's privileges in case there is an an unattended terminal (e.g. in a lab setting with multiple people). If you want to allow "sudo -l" with no password you can just use the following in sudoers: Defaults listpw=never Users with sudoers privileges don't need to enter a password if they've used sudo within the past 5 minutes or if their privileges don't require a password to be entered. |