LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Unable to create home directory in Open Suse 11.3 (https://www.linuxquestions.org/questions/suse-opensuse-60/unable-to-create-home-directory-in-open-suse-11-3-a-830909/)

abhinav4 09-08-2010 01:52 AM

Unable to create home directory in Open Suse 11.3
 
When i am adding a user using "useradd -d /home/test test" or "useradd test", it is now creating the home directory, whereas when i am using the graphical mode and going through several menu options, i am getting the home directory. Dont know what is missing.

druuna 09-08-2010 01:57 AM

Hi,

You need the -m option too: useradd -m -d /home/test test

Also have a look at the man page.

Hope this helps.


All times are GMT -5. The time now is 03:42 AM.