Configurazione PAM

Configuriamo quindi PAM (Pluggable Authentication Modules) modificando i seguenti files:

/etc/pam.d/common-auth

auth    sufficient        pam_unix.so nullok_secure
auth    sufficient        pam_krb5.so use_first_pass
auth    required          pam_deny.so
/etc/pam.d/common-account
account sufficient        pam_unix.so
account sufficient        pam_krb5.so
account required          pam_deny.so
/etc/pam.d/common-password
password  sufficient   pam_unix.so nullok obscure md5
password  required     pam_winbind.so
/etc/pam.d/common-session
session      optional      pam_unix.so
session      optional      pam_krb5.so
session      optional      pam_mkhomedir.so skel=/etc/skel/ umask=077

Stefano Sasso 2009-04-16