From e044c5cf76618b023a4315f41fe126c80c06b833 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Oct 19 2017 14:09:53 +0000 Subject: Enforce pam_sepermit for all logins (#1492313) --- diff --git a/sshd.pam b/sshd.pam index 0f5c061..cea2624 100644 --- a/sshd.pam +++ b/sshd.pam @@ -1,9 +1,9 @@ #%PAM-1.0 -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_sepermit.so account required pam_nologin.so account include password-auth password include password-auth