|
Bugzilla – Full Text Bug Listing |
| Summary: | validating sudoers content | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Bdale Garbee <bdale> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | low | ||
| Version: | 1.7.2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| URL: | http://bugs.debian.org/192522 | ||
|
Description
Bdale Garbee
2009-08-31 14:57:56 MDT
You should be able to use "visudo -cf /etc/sudoers" to verify that the sudoers file parses correct. If you get back "/etc/sudoers: parsed OK" sudo should be able to parse the file. Running "visudo -q -c" and checking the exit status should be sufficient. |