Add pam_reauthorize.so to sshd.pam (#1115977)
This commit is contained in:
parent
86f29c353e
commit
26621fa3b8
4
sshd.pam
4
sshd.pam
@ -2,6 +2,8 @@
|
||||
auth required pam_sepermit.so
|
||||
auth substack password-auth
|
||||
auth include postlogin
|
||||
# Used with polkit to reauthorize users in remote sessions
|
||||
-auth optional pam_reauthorize.so prepare
|
||||
account required pam_nologin.so
|
||||
account include password-auth
|
||||
password include password-auth
|
||||
@ -13,3 +15,5 @@ session required pam_selinux.so open env_params
|
||||
session optional pam_keyinit.so force revoke
|
||||
session include password-auth
|
||||
session include postlogin
|
||||
# Used with polkit to reauthorize users in remote sessions
|
||||
-session optional pam_reauthorize.so prepare
|
||||
|
Loading…
Reference in New Issue
Block a user