|
Bugzilla – Full Text Bug Listing |
| Summary: | sudo still resolves hostnames despite Defaults !fqdn | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | michael+sudo |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.7.2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | Patch to defer fqdn setting until after sudoers is parsed | ||
|
Description
michael+sudo
2010-01-01 15:59:19 MST
Sudo currently uses the value of def_fqdn before sudoers is parsed, which means it gets the compiled in value (--with-fqdn) instead of the sudoers value. Waiting until after sudoers has been parsed should be doable. I'll look at this for sudo 1.7.3. Created attachment 278 [details]
Patch to defer fqdn setting until after sudoers is parsed
I've attached a patch to defer checking fqdn status until after sudoers is parsed which should resolve this. This change will be in sudo 1.7.3 due out at the end of June.
Fixed in sudo 1.7.3 |