|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo -v always return 1 | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | tuxce.net |
| Component: | Sudoers | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.8.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: |
Fix exit value of "sudo -v" in sudoers module.
Exit value fix for "sudo -v" and "sudo -l" |
||
Created attachment 309 [details]
Exit value fix for "sudo -v" and "sudo -l"
I've attached the fix that I committed which will be part of the next release.
This is fixed in 1.8.1 which is currently in beta test, see http://www.sudo.ws/sudo/devel.html Fixed in sudo 1.8.1 |
Created attachment 307 [details] Fix exit value of "sudo -v" in sudoers module. In previous version, sudo -v returned 0 when user was allowed to use sudo. In version 1.8.0, exit code is always 1.