|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo -n prompts for a password | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | tuxce.net |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.8.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | Patch to fix non-interactive mode in sudo 1.8.0 with sudoers plugin | ||
Created attachment 308 [details]
Patch to fix non-interactive mode in sudo 1.8.0 with sudoers plugin
The attached patch fixes the problem.
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 |
When a user is not listed in sudoers, "sudo -n" prompts for a password. tuxce ~ $ sudo -k; sudo -nl User tuxce may run the following commands on this host: (ALL) ALL (ALL) NOPASSWD: /usr/bin/hidd And with another user: test ~ $ sudo -k; sudo -nl Mot de passe : Sorry, user test may not run sudo on cfuzp.