Add a source to struct sudo_nss and use it if getdefs() fails.
Also remove useless "Problem with defaults entries" warning in testsudoers.
This commit is contained in:
@@ -146,6 +146,7 @@ sudo_file_getdefs(struct sudo_nss *nss)
|
||||
/* sudo_nss implementation */
|
||||
struct sudo_nss sudo_nss_file = {
|
||||
{ NULL, NULL },
|
||||
"sudoers",
|
||||
sudo_file_open,
|
||||
sudo_file_close,
|
||||
sudo_file_parse,
|
||||
|
Reference in New Issue
Block a user