Find the answer to your Linux question:
Results 1 to 2 of 2
I have added a new user by following command : root# useradd -u 100 -g 120 -d /product -s /bin/bash sandesh I am not able to acess it in /export/home ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2011
    Posts
    1

    Acess the new user added


    I have added a new user by following command :

    root# useradd -u 100 -g 120 -d /product -s /bin/bash sandesh

    I am not able to acess it in /export/home directory..?

  2. #2
    Just Joined!
    Join Date
    Jun 2007
    Posts
    17

    man page is first line of defense

    this is from the man page:
    -d, --home HOME_DIR
    The new user will be created using HOME_DIR as the value for the
    userīs login directory. The default is to append the LOGIN name to
    BASE_DIR and use that as the login directory name. The directory
    HOME_DIR does not have to exist but will not be created if it is
    missing.

Posting Permissions

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