|
Bugzilla – Full Text Bug Listing |
| Summary: | chmod on "sudoers" can't be undone | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Karl Woelfer <kwoelfer> |
| Component: | Sudoers | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED INVALID | ||
| Severity: | high | ||
| Priority: | low | ||
| Version: | 1.8.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Karl Woelfer
2010-07-07 21:06:46 MDT
This is why you should use visudo to edit the sudoers file--it will validate the file and make sure the mode is correct. You'll need to login as root and change the mode of /etc/sudoers to 0440. Sudo will refuse to run if sudoers has a file mode that is not secure. |