|
Bugzilla – Full Text Bug Listing |
| Summary: | incorrect use of syntax_check() leads to command line verification uncertainity | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Endre Szabo <endre.szabo> |
| Component: | Visudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | endre.szabo |
| Priority: | low | ||
| Version: | 1.9.6 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Endre Szabo
2021-04-20 09:17:32 MDT
This is intentional. The permission check is not performed when the -f option is specified. The intent of the -f flag is to make it possible to check the syntax of a sudoers file before it is installed. For example, if sudoers is stored in git or as part of some other configuration management setup. Minds blown, thanks for the heads up. |