Quick Install Links

  • Install Ubuntu Server

    Ubuntu Server

    Quick install link for the installation of Ubuntu Server 20.04 LTS.

  • Install RHEL 8

    RHEL 8

    Quick link for the installation of RHEL 8.

Managing Users

Managing Users

The following commands can be used to manage users and groups on a Linux operating system from the command line. To view the command examples for each topic. Click on the links under the Managing Users section.

Useradd command

The "useradd" command is used to create a new user on your Linux system. Root access is required to add a new user to a system. This can be done either via the "root" account or via "sudo" escalation. For a full overview of the "useradd" command with command examples, click on the link under the "managing users" section.

Usermod command

The "usermod" command is used to modify an existing account on your Linux system. Root access is required to modify a users configuration. This can be done either via the "root" account or via "sudo" escalation. For a full overview of the "usermod" command with command examples, click on the link under the "managing users" section.

Userdel command

The "userdel" command is used to remove an account on your Linux system. Root access is required to delete a users account. This can be done either via the "root" account or via "sudo" escalation. For a full overview of the "userdel" command with command examples, click on the link under the "managing users" section.

Passwd command

The "passwd" command is used to set or change a password for an existing user. The command may also be used for locking and unlocking an account. Root access is required to modify a users password. However, a normal user may change their own password. For a full overview of the "passwd" command with command examples, click on the link under the "managing users" section.

Chage command

The "chage" command is used to set or change a users password expiry information. Root access is required to modify a users password expiry information. This can be done either via the "root" account or via "sudo" escalation. For a full overview of the "chage" command with command examples, click on the link under the "managing users" section.

Groupadd command

The "groupadd" command is used for creating a new group on a Linux system. Root access is required to create a new group. This can be done either via the "root" account or via "sudo" escalation. For a full overview of the "groupadd" command with command examples, click on the link under the "managing users" section.

Groupmod command

The "groupmod" command is used for modifying a group definition on a Linux system. Root access is required to modify an existing group. This can be done either via the "root" account or via "sudo" escalation. For a full overview of the "groupmod" command with command examples, click on the link under the "managing users" section.

Groupdel command

The "groupdel" command is used for deleting a group definition on a Linux system. Root access is required to delete an existing group. This can be done either via the "root" account or via "sudo" escalation. For a full overview of the "groupdel" command with command examples, click on the link under the "managing users" section.

Groups command

The "groups" command is used for displaying group membership of a user on a Linux system. Any user may issue this command. For a full overview of the "groups" command with command examples, click on the link under the "managing users" section.

Id command

The "id" command is used for displaying a users UID/GID and group membership on a Linux system. Any user may issue this command. For a full overview of the "id" command with command examples, click on the link under the "managing users" section.