|
Bugzilla – Full Text Bug Listing |
| Summary: | Clarify in man page: /sudoers read before /sudoers.d/* | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Loren M <mcint> |
| Component: | Documentation | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | ||
| Priority: | low | ||
| Version: | 1.8.10 | ||
| Hardware: | All | ||
| OS: | Linux | ||
|
Description
Loren M
2017-02-13 03:00:24 MST
Actually, the order in which sudoers.d/* files are read depends on where the #includedir directive is placed in /etc/sudoers. Typically it is at the end but it doesn't need to be. When /etc/sudoers is opened and parsed, if it encounters a #include or #includedir directive, that file (or group of files for #includedir) is parsed and when the end is reached, the original file continues parsing. I've attempted to clarity the situation in https://www.sudo.ws/repos/sudo/rev/f68769f15356 The documentation change is present in sudo 1.8.20, available now. |