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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.