aboutsummaryrefslogblamecommitdiff
path: root/files/etc/pam.d/login.freebsd
blob: bb215ecf549f43e8287909d7cb5dab882a29d044 (plain) (tree)
1
2
3
4
5
6
7
8






                                                                        
                                                    




                                                         
                                                               




                                                                                          


                                                                        
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 nodefgroup
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
session   optional    /usr/local/lib/pam_mkhomedir.so mode=0700
$(if [ "$BOXCONF_VIRTUALIZATION_TYPE" != jail ] && [ "${enable_autofs:-}" != false ]; then
cat <<EOF
session   optional    pam_exec.so /usr/local/libexec/pam-create-local-homedir
EOF
fi)

password  sufficient  /usr/local/lib/security/pam_krb5.so try_first_pass
password  required    pam_unix.so no_warn try_first_pass