Hi,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/vijay: Permission denied Last login: Wed Oct 5 16:03:53 2011 from 10.254.194.148 Could not chdir to home directory /home/vijay: No such file or directory Kindly help me to solve this problem.Warm Regards,Vijay S.
Hi,
Please wrap your message at 72 and without html it's better ;)
Le mer. oct. 05 2011 � 08:00:22 -0000, vijay s sheelavantar dit :
Hi,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/vijay: Permission denied Last login: Wed Oct 5 16:03:53 2011 from 10.254.194.148 Could not chdir to home directory /home/vijay: No such file or directory Kindly help me to solve this problem.Warm Regards,Vijay S.
try to put it on /etc/pam.d/common-session.
Best regards,
openldap-technical@openldap.org