Home > Bookmarks, Hosting, Linux, Tech > useradd error – bash: useradd: command not found

useradd error – bash: useradd: command not found

September 14th, 2008 Leave a comment Go to comments

To create a new user account under any Linux distribution use command called useradd. The system administrator is responsible for creating account. Login as root user (or use sudo command).

useradd command syntax:

useradd [options] {username}

Depending on command line options, the useradd command will update system files and may also create the new user’s home directory & copy initial files.

To become root, If you typed:

su

and not:

su -

linux create user account and error “bash: useradd: command not found” is common in this case. If you will only have your user PATH variable set which does not include /usr/sbin. If you use “su -” it will create a new shell for root. So wither run :

su -
useradd

or use direct:

/usr/sbin/useradd

  1. BiortUnfott
    October 4th, 2009 at 00:55 | #1

    Hi

    I’ve looked a trailer for the “2012″. I was interested in this theme.
    Please advise me a good site on this topic.
    And what do you think about the end of the world 2012.

    Thanks.

  2. anypesype
    September 28th, 2009 at 19:45 | #2

    Hello! Depressing klooper appropriate for my english jer, buti plumb nice re say gJ$)Kd!!!.

  3. September 14th, 2009 at 12:58 | #3

    Hi,

    Thank you for the great quality of your website, every time i come here, i’m amazed.

    I would like to suggest you to come and try the brand new black hattitude.
    will find a lot of tricks dealing with the black hattitude,

    You can buy some black hattitude, rent black hattitude, steal black hattitude, or find
    the ultimate black hattitude on our sites ofblack hattitude.

    regards,

    Alan Foe

    black hattitude

  4. discodaug
    September 10th, 2009 at 07:26 | #4

    hello,

    Thank you for the great quality of your website, every time i come here, i’m amazed.

    I would like to invite you to discover the brand new …

  1. No trackbacks yet.
GoCache - ByREV-Cache v1.0 - live served in : 0.184836 sec (gzip)