0PricingLogin
Linux Command Line Mastery · Lesson

User and Group Management: `useradd`, `usermod`, `groupadd`

Learn to create, modify, and delete user accounts and groups on a Linux machine.

Welcome to User Management

In Linux, managing users and groups is crucial for security and organization. Every file and process has an owner, and permissions are often set based on user and group affiliations.

This lesson will teach you how to create, modify, and remove user accounts and groups.

Creating New Users: `useradd`

The useradd command creates a new user account. By default, it creates a new primary group with the same name as the user and assigns a unique User ID (UID).

You'll often need sudo (superuser do) privileges to run this command.

sudo useradd newuser

All lessons in this course

  1. User and Group Management: `useradd`, `usermod`, `groupadd`
  2. Introduction to Networking Commands: `ping`, `ip`, `netstat`
  3. Secure Remote Access: `ssh` and `scp`
  4. File Permissions and Ownership with chmod and chown
← Back to Linux Command Line Mastery