View Single Post
Old 10th November 2011, 13:38
lorens lorens is offline
Junior Member
Join Date: Nov 2011
Posts: 11
Thanks: 7
Thanked 0 Times in 0 Posts
Default Force PAM to create user home folder if it already not exists

Hi all!

I've been trying to configure gdm to log by a RADIUS server.
I'm done with the auth. But the logging it's only working if the user has already a local home folder. So I'm trying to configure in order to create the user home folder on the fly. The problem is that it's not working...

My /etc/pam.d/gdm file:

auth sufficient
auth requisite
#auth sufficient readenv=1
#auth sufficient readenv=1 envfile=/etc/default/locale
auth sufficient
#auth sufficient user ingroup nopasswdlogin
@include common-auth
auth optional
account sufficient
@include common-account
#session [success=ok ignore=ignore module_unknown=ignore default=bad] close
#session required
session sufficient skel=/home/formacio umask=0
@include common-session
session [success=ok ignore=ignore module_unknown=ignore default=bad] open
session optional auto_start
@include common-password

Reply With Quote
Sponsored Links