Find the answer to your Linux question:
Results 1 to 3 of 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 ...
  1. #1
    Just Joined! abhinav4's Avatar
    Join Date
    Apr 2008
    Posts
    8

    Question Unable to create home directory in 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.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    I am not getting you question? If both Graphical and useradd command are create /home/<user> folder correctly then where is the problem?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Newbie
    Join Date
    Apr 2009
    Posts
    160
    Quote Originally Posted by abhinav4 View Post
    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.

    do
    Code:
    # useradd -m test
    -m will make the home dir
    -d you specify what home dir you want to use, if it doesn't exist, it'll error out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...