|
Bugzilla – Full Text Bug Listing |
| Summary: | Ignore drop-in sudoer files with syntax errors rather than breaking everything | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | bugzilla |
| Component: | Sudoers | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | low | ||
| Version: | 1.8.7 | ||
| Hardware: | PC | ||
| OS: | All | ||
|
Description
bugzilla
2013-10-28 13:07:41 MDT
To do this safely the sudoers.d data would have to be journaled instead of applied as the file is read. If the file parsed OK the journal would then be replayed. That way the sudoers.d file is either applied completely or not at all. Sudo 1.9.3 will now recover from syntax errors, ignoring the line with the error. |