diff options
Diffstat (limited to 'scripts/os/freebsd/50-idm')
-rw-r--r-- | scripts/os/freebsd/50-idm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/os/freebsd/50-idm b/scripts/os/freebsd/50-idm index 1585c6f..1e5e877 100644 --- a/scripts/os/freebsd/50-idm +++ b/scripts/os/freebsd/50-idm @@ -18,12 +18,16 @@ pkg install -y \ p5-Authen-SASL \ pam_mkhomedir +# Script to create /usr/local/home/${USER} on login. +install_file -m 0555 /usr/local/libexec/pam-create-local-homedir + # Configure PAM/NSS integration. +install_template -m 0644 \ + /etc/pam.d/login \ + /etc/pam.d/sshd install_file -m 0644 \ /etc/nsswitch.conf \ /etc/pam.d/system \ - /etc/pam.d/login \ - /etc/pam.d/sshd \ /etc/pam.d/sudo \ /etc/pam.d/su \ /etc/pam.d/other |