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

                                                                        
 

                                                         
                                                    
                                 
 
                                                         
                                                               




                                                                                          
 

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

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    /usr/local/lib/security/pam_krb5.so
session   required    /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