Add pam_service and pam_login_service sudoers settings to control

the service name passed to pam_start.
This commit is contained in:
Todd C. Miller
2013-08-06 11:01:36 -06:00
parent 385e20c7bc
commit 52954481e1
10 changed files with 263 additions and 173 deletions

View File

@@ -354,6 +354,14 @@ struct sudo_defs_types sudo_defs_table[] = {
"exec_background", T_FLAG,
N_("Run commands on a pty in the background"),
NULL,
}, {
"pam_service", T_STR,
N_("PAM service name to use"),
NULL,
}, {
"pam_login_service", T_STR,
N_("PAM service name to use for login shells"),
NULL,
}, {
"pam_session", T_FLAG,
N_("Create a new PAM session for the command to run in"),