|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo -n incorrectly ask for a password when using pam | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Amaury Séchet <deadalnix> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.8.27 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Amaury Séchet
2021-01-27 03:59:08 MST
The -n flag will cause sudo to refuse to run if authentication is required. In your case, authentication doesn't require a password to be entered, but sudo doesn't really know that. It may be possible to push that check further down into the code that does the actual prompting but that may not work in all cases. Fixed in sudo 1.9.9. |