2
0
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:
Todd C. Miller
2020-03-01 13:37:00 -07:00
parent f561e2cafe
commit e1df9d1dc3
7 changed files with 110 additions and 18 deletions

View File

@@ -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
}