aboutsummaryrefslogtreecommitdiff
path: root/files/etc/pam.d/su.freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/pam.d/su.freebsd')
-rw-r--r--files/etc/pam.d/su.freebsd10
1 files changed, 10 insertions, 0 deletions
diff --git a/files/etc/pam.d/su.freebsd b/files/etc/pam.d/su.freebsd
new file mode 100644
index 0000000..0bd3ea0
--- /dev/null
+++ b/files/etc/pam.d/su.freebsd
@@ -0,0 +1,10 @@
+auth sufficient pam_rootok.so no_warn
+auth sufficient pam_self.so no_warn
+auth requisite pam_group.so no_warn group=wheel root_only fail_safe ruser
+auth sufficient /usr/local/lib/security/pam_krb5.so try_first_pass
+auth required pam_unix.so no_warn try_first_pass nullok
+
+account required /usr/local/lib/security/pam_krb5.so
+account required pam_unix.so
+
+session required pam_permit.so