Add ignore_perms plugin argument to skip the sudoers file security checks.
This is not intended to be used in a production environment.
This commit is contained in:
@@ -82,6 +82,7 @@ struct sudoers_parser_config {
|
||||
const char *sudoers_path;
|
||||
bool strict;
|
||||
bool recovery;
|
||||
bool ignore_perms;
|
||||
int verbose;
|
||||
mode_t sudoers_mode;
|
||||
uid_t sudoers_uid;
|
||||
@@ -91,6 +92,7 @@ struct sudoers_parser_config {
|
||||
NULL, /* sudoers_path */ \
|
||||
false, /* strict */ \
|
||||
true, /* recovery */ \
|
||||
false, /* ignore_perms */ \
|
||||
1, /* verbose level 1 */ \
|
||||
SUDOERS_MODE, \
|
||||
SUDOERS_UID, \
|
||||
|
Reference in New Issue
Block a user