aboutsummaryrefslogtreecommitdiff
path: root/files/etc/pam.d/login.freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/pam.d/login.freebsd')
-rw-r--r--files/etc/pam.d/login.freebsd16
1 files changed, 16 insertions, 0 deletions
diff --git a/files/etc/pam.d/login.freebsd b/files/etc/pam.d/login.freebsd
new file mode 100644
index 0000000..164fcb0
--- /dev/null
+++ b/files/etc/pam.d/login.freebsd
@@ -0,0 +1,16 @@
+auth sufficient pam_self.so no_warn
+auth sufficient /usr/local/lib/security/pam_krb5.so try_first_pass
+auth required pam_unix.so no_warn try_first_pass nullok
+
+account requisite pam_securetty.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 required pam_lastlog.so no_fail
+session required pam_xdg.so
+session required /usr/local/lib/security/pam_krb5.so
+
+password sufficient /usr/local/lib/security/pam_krb5.so try_first_pass
+password required pam_unix.so no_warn try_first_pass