[gdm-list] Make home directory at user login



Hi all!

I'm trying to make home directory at RADIUS-user gdm login.

The auth is working right, but when I try to login, gdm says that the user has not a home directory.

I tried to do that with pam_mkhomedir.so but is not working.

My /etc/pam.d/gdm:

PAM-1.0 auth sufficient pam_radius_auth.so
auth sufficient pam_nologin.so
auth sufficient pam_env.so readenv=1
auth sufficient pam_env.so readenv=1 envfile=/etc/default/locale
auth sufficient pam_succeed_if.so
@include common-auth
auth optional pam_gnome_keyring.so
account sufficient pam_radius_auth.so
@include common-account
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
session optional pam_limits.so
@include common-session
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
session optional pam_gnome_keyring.so auto_start
session required pam_mkhomedir.so skel=/etc/skel umask=0022
@include common-password

Thanks.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]