Command Line Configuration

If you prefer command-line tools or do not have the X Window System installed, use this chapter to configure users and groups.

To add a user to the system:

  1. Issue the useradd command to create a locked user account:

    useradd <username>
  2. Unlock the account by issuing the passwd command to assign a password and set password aging guidelines:

    passwd <username>

To add a group to the system, use the command groupadd:

groupadd <group-name>