mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-05 00:35:14 +00:00
Add pam_ruser and pam_rhost sudoers flags.
This commit is contained in:
@@ -537,6 +537,14 @@ struct sudo_defs_types sudo_defs_table[] = {
|
||||
"runas_check_shell", T_FLAG,
|
||||
N_("Only permit running commands as a user with a valid shell"),
|
||||
NULL,
|
||||
}, {
|
||||
"pam_ruser", T_FLAG,
|
||||
N_("Set the pam remote user to the user running sudo"),
|
||||
NULL,
|
||||
}, {
|
||||
"pam_rhost", T_FLAG,
|
||||
N_("Set the pam remote host to the local host name"),
|
||||
NULL,
|
||||
}, {
|
||||
NULL, 0, NULL
|
||||
}
|
||||
|
Reference in New Issue
Block a user