Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th October 2011, 08:06 AM
vijays Offline
Registered User
 
Join Date: Aug 2011
Posts: 28
windows_7chrome
Unable to create home directory using pam_mkhomedir.so

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/vijayPermission denied
Last login
Wed Oct  5 16:03:53 2011 from 10.254.194.148
Could not chdir to home directory 
/home/vijayNo such file or directory 

Kindly help me to solve this problem.

Warm Regards,
Vijay S.

Last edited by vijays; 5th October 2011 at 08:14 AM.
Reply With Quote
Reply

Tags
create, directory, home, pammkhomedirso, unable

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
useradd used with no home directory still shows home dir in passwd file marko Using Fedora 0 15th October 2008 08:30 PM
unable to create any directory that uses numbers as the directory name fed.linuxgossip Using Fedora 19 8th October 2007 03:51 PM
fedora directory server with automounting home directory balorg Servers & Networking 2 7th August 2006 12:20 AM
Adduser create home directory with 0755 t.starner Using Fedora 0 22nd July 2005 05:35 PM


Current GMT-time: 16:19 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat