aboutsummaryrefslogtreecommitdiff
path: root/files/etc/pam.d/sshd.freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/pam.d/sshd.freebsd')
-rw-r--r--files/etc/pam.d/sshd.freebsd20
1 files changed, 8 insertions, 12 deletions
diff --git a/files/etc/pam.d/sshd.freebsd b/files/etc/pam.d/sshd.freebsd
index 57b281b..559a980 100644
--- a/files/etc/pam.d/sshd.freebsd
+++ b/files/etc/pam.d/sshd.freebsd
@@ -1,17 +1,13 @@
-# auth
-auth sufficient /usr/local/lib/security/pam_krb5.so try_first_pass
-auth required pam_unix.so no_warn try_first_pass
+auth sufficient /usr/local/lib/security/pam_krb5.so try_first_pass
+auth required pam_unix.so no_warn try_first_pass
-# account
-account required pam_nologin.so
-account required /usr/local/lib/security/pam_krb5.so
-account required pam_login_access.so
-account required pam_unix.so
+account required pam_nologin.so
+account required /usr/local/lib/security/pam_krb5.so
+account required pam_login_access.so
+account required pam_unix.so
-# session
-session required /usr/local/lib/security/pam_krb5.so
-session required pam_permit.so
+session required /usr/local/lib/security/pam_krb5.so
+session required pam_permit.so
-# password
password sufficient /usr/local/lib/security/pam_krb5.so try_first_pass
password required pam_unix.so no_warn try_first_pass