Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am login as root and when I want to add new user aymna, the message came out
"useradd: cannot create directory /home/ayman"
what can i do , I am using RHEL 3.
Amir Mohammed Abdalla
Network administrator
00249912616158
E.mail: amirzkria2@yahoo.com
Last edited by amirzkria; 02-04-2006 at 06:40 AM.
Click here to see the post LQ members have rated as the most helpful post in this thread.
I am login as root and when I want to add new user aymna, the message came out
"useradd: cannot create directory /home/ayman"
what can i do , I am using RHEL 3.
Amir Mohammed Abdalla
Network administrator
00249912616158
E.mail: amirzkria2@yahoo.com
the reason was rhe autofs deamon was mount on the /home directory and this was hide my /home directory, when i stop the autofs service and mount -a the /home directory was appeare and every think work fine.
best regares
Amir Mohammed Abdalla
Network administrator
00249912616158
E.mail: amirzkria2@yahoo.com
CentOS 5.5
I had a similar issue where the home directory could not be created when creating new users. In my case it was a box where I was playing with nfs mounts at an earlier point in time and due to that, issues were showing up now with creating users.
In my case, I had old crap in these files pointing to nfs mounts:
I would check your /etc/nsswitch.conf file. Most likely you have a setting that is causing your issue with creating the home directory. If the setting are not correct, it can prevent you from creating a home directory for your user. Here is a functional nsswitch.conf that is using Winbind to authenticate:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.