View Single Post
  #2 (permalink)  
Old 09-05-2007, 02:10 AM
bylong bylong is offline
Active Member
 
Posts: 40
Default addtional information!

other informat:

if I logon with root and create one folder the name as username in home direcotry, e.g /home/bylong , bylong is a username.
and change owner by issuing command # chown bylong /home/bylong
then everything is ok.

thus, I guess there are something wrong with
/etc/pam.d/common-session file

Code:
#session	required	pam_unix2.so	
#session	optional	pam_umask.so
session         sufficient      pam_unix2.so
session         sufficient      pam_ldap.so
#session	        optional	pam_umask.so
session         required        pam_mkhomedir.so skel=/etc/skel umask=0077
system seems did not invoke pam_makhomedir.so to create user home folder when user fisrt logon.

what 's that reason? many thanks in advance!
Reply With Quote