diff options
Diffstat (limited to 'files/etc/pam.d/sshd.freebsd')
-rw-r--r-- | files/etc/pam.d/sshd.freebsd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/files/etc/pam.d/sshd.freebsd b/files/etc/pam.d/sshd.freebsd new file mode 100644 index 0000000..57b281b --- /dev/null +++ b/files/etc/pam.d/sshd.freebsd @@ -0,0 +1,17 @@ +# auth +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 + +# session +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 |