From 2c9845db4bc00221bc3c2343a020208f7f532166 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Thu, 31 Oct 2024 21:36:39 -0400 Subject: many fixes --- files/etc/pam.d/login.freebsd | 5 +++++ files/etc/pam.d/sshd.freebsd | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'files/etc/pam.d') diff --git a/files/etc/pam.d/login.freebsd b/files/etc/pam.d/login.freebsd index ae50bbe..bb215ec 100644 --- a/files/etc/pam.d/login.freebsd +++ b/files/etc/pam.d/login.freebsd @@ -12,6 +12,11 @@ session required pam_lastlog.so no_fail session required pam_xdg.so session required /usr/local/lib/security/pam_krb5.so session optional /usr/local/lib/pam_mkhomedir.so mode=0700 +$(if [ "$BOXCONF_VIRTUALIZATION_TYPE" != jail ] && [ "${enable_autofs:-}" != false ]; then +cat <