User & Group Management
Create and administer local user and group accounts.
8 commands in this section.
groupadd
Beginner
Create a new group.
groupadd [options] groupname
id
Beginner
Show a user's UID, GID and group memberships.
id [username]
passwd
Beginner
Set or change a user's password.
passwd [username]
su
Beginner
Switch to another user account within the current session.
su [options] [username]
sudo
Beginner
Run a single command with another user's (usually root's) privileges.
sudo [options] command
useradd
Beginner
Create a new user account.
useradd [options] username
userdel
Intermediate
Delete a user account.
userdel [options] username
usermod
Intermediate
Modify an existing user account.
usermod [options] username