Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    help with red hat 9


    i have a strange problem.
    i have installed red hat 9 and when i try to add a user from the terminal
    with the root user i type useradd and it tells me there is no such command
    but when i type man useradd i get the man page for that command
    does anyone knows a solution for this problem??

    thanks a lot

  2. #2
    Just Joined!
    Join Date
    Dec 2004
    try adduser

  3. #3
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Seattle, Washington
    Don't forget you have to be root to useradd
    in terminal
    su -
    useradd <username>
    passwd <username>

    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  4. $spacer_open
  5. #4
    if you confuse
    $whereis useradd
    then you'll find the path
    and you'll need to insert the root password
    #/path/useradd username
    #passwd usernameyoujustadd
    see the /home
    if haven't created the home for your new user created one
    #cd /home
    create user's home directory
    #mkdir usernameyoujustadd
    and must match as your newly add user name
    then exit and try login by using your newly add user

  6. #5
    sorry forget one thing
    #passwd usernameyoujustadd
    after this command you'll need to input the newuser password

Posting Permissions

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