Enforce pam_sepermit for all logins (#1492313)
This commit is contained in:
parent
72514f7644
commit
e044c5cf76
2
sshd.pam
2
sshd.pam
@ -1,9 +1,9 @@
|
|||||||
#%PAM-1.0
|
#%PAM-1.0
|
||||||
auth required pam_sepermit.so
|
|
||||||
auth substack password-auth
|
auth substack password-auth
|
||||||
auth include postlogin
|
auth include postlogin
|
||||||
# Used with polkit to reauthorize users in remote sessions
|
# Used with polkit to reauthorize users in remote sessions
|
||||||
-auth optional pam_reauthorize.so prepare
|
-auth optional pam_reauthorize.so prepare
|
||||||
|
account required pam_sepermit.so
|
||||||
account required pam_nologin.so
|
account required pam_nologin.so
|
||||||
account include password-auth
|
account include password-auth
|
||||||
password include password-auth
|
password include password-auth
|
||||||
|
Loading…
Reference in New Issue
Block a user