Linux System Administration
User Management
Command Line
useradd
: Adds a user account.
The useradd utility adds new users accounts to the system.
By default, useradd assigns the next highest unused user ID
useradd also specifies the bash as the user's login shell.
# useradd -g 500 -c "Mike LeVan" mlevan
This command will:
Create the user's home directory (in /home).
Specify the user's group ID.
Puts the user's full name in the comment field.
Prev
Page 7
Next