Replace sudoers_warnings with sudoers_verbose.

This is now an int, with values > 1 reserved for visudo.
This commit is contained in:
Todd C. Miller
2023-03-20 18:27:27 -06:00
parent 738387aa4d
commit 8049e4e32f
11 changed files with 41 additions and 28 deletions

View File

@@ -273,8 +273,8 @@ main(int argc, char *argv[])
sudo_fatal("%s", U_("unable to parse network address list"));
}
/* Allocate space for data structures in the parser. */
init_parser("sudoers", false, true);
/* Initialize the parser and set sudoers filename to "sudoers". */
init_parser_ext("sudoers", true, 2);
/*
* Set runas passwd/group entries based on command line or sudoers.