Do not call set_fqdn() until sudoers parses (where is gets run as a callback).
This commit is contained in:
4
WHATSNEW
4
WHATSNEW
@@ -47,6 +47,10 @@ What's new in Sudo 1.7.3?
|
||||
specified as floating point numbers for more granular timeout
|
||||
values.
|
||||
|
||||
* Negating the fqdn option in sudoers now works correctly when sudo
|
||||
is configured with the --with-fqdn option. In previous versions
|
||||
of sudo the fqdn was set before sudoers was parsed.
|
||||
|
||||
What's new in Sudo 1.7.2?
|
||||
|
||||
* A new #includedir directive is available in sudoers. This can be
|
||||
|
@@ -764,11 +764,6 @@ init_vars(char * const envp[])
|
||||
#endif
|
||||
|
||||
/* It is now safe to use log_error() and set_perms() */
|
||||
|
||||
if (def_fqdn) {
|
||||
/* may call log_error() */
|
||||
set_fqdn();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user