Skip to main content
$Training4Linux
  • Learning paths
  • Start here
  • Reference
  • My learning
  1. Home
  2. User & Group Management

User & Group Management

Create and administer local user and group accounts.

Networking & DNS 6 Mail Servers (Exim, Postfix) 6 File & Directory Management 16 Permissions & Ownership 6 Process & Job Management 6 Package Management 9 User & Group Management 8 System Monitoring & Logs 6 Text Processing & Editors 6 Disk & Storage 6 Systemd & Services 6 Firewall & Security 6 Shell & Environment Basics 8 System & Hardware Info 6 Scheduling & Automation 4 Archiving & Compression 6 Remote Access & File Transfer 5

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
$Training4Linux

Build practical Linux confidence, one useful skill at a time. Structured lessons, your own lab and a reference that stays close.

Build your skills

  • Learning paths
  • Set up your lab
  • My learning & privacy

Find an answer

  • Command reference
  • Browse distributions
  • Search lessons & commands
  • About Training4Linux
© 2026 Training4Linux.co.uk · Learn with purpose. Practise with care.