Chapter 8. Given a scenario, manage users and groups

This chapter provides information and commands concerning the following topics:

Creation

Modification

Deletion

Queries

Quotas

Profiles (BASH parameters)

Important files and file contents

Creation

This section focuses on the commands designed to create user and group accounts.

useradd

The useradd command is used by the root user to create a user account.

Example:

[root@OCS ~]$ useradd julia

Here are some important options ...

Get CompTIA Linux+ Portable Command Guide: All the commands for the CompTIA XK0-004 exam in one compact, portable resource, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.