Add pam_service and pam_login_service sudoers settings to control
the service name passed to pam_start.
This commit is contained in:
@@ -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"),
|
||||
|
Reference in New Issue
Block a user