aboutsummaryrefslogtreecommitdiff
path: root/files/etc/pam.d/sudo.freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/pam.d/sudo.freebsd')
-rw-r--r--files/etc/pam.d/sudo.freebsd15
1 files changed, 15 insertions, 0 deletions
diff --git a/files/etc/pam.d/sudo.freebsd b/files/etc/pam.d/sudo.freebsd
new file mode 100644
index 0000000..425bf4e
--- /dev/null
+++ b/files/etc/pam.d/sudo.freebsd
@@ -0,0 +1,15 @@
+# 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 /usr/local/lib/security/pam_krb5.so
+account required pam_login_access.so
+account required pam_unix.so
+
+# session
+account 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