[Date Prev][Date Next] [Chronological] [Thread] [Top]

Unable to create home directory (LDAP Authentication)


I am trying to create the home directories for the users automatically(using pam_mkhomedir.so) when they login using SSH.

I have added the below line to /etc/pam.d/system-auth file.

PHP Code:
session     optional        pam_mkhomedir.so skel=/etc/skel umask=0022  
user authentication is done by a LDAP server, and the machine is running Fedora OS.

I am getting the below errors.

PHP Code:
Creating directory '/home/vijay'.
Unable to create directory /home/vijayPermission denied
Last login
Wed Oct  5 16:03:53 2011 from
Could not chdir to home directory 
/home/vijayNo such file or directory  
Kindly help me to solve this problem.

Warm Regards,
Vijay S.

Follow Rediff Deal ho jaye! to get exciting offers in your city everyday.