← All labs

EX200 · 04/10 · 40 min · Free

Manage users and groups

Official EX200 group: local users, password aging, groups, superuser access.

Work on your practice VM. After install, run prep-exam.sh once, snapshot 01_Exam_Start, then SSH as student.

When you finish this lab, copy the grade script onto the VM: sudo bash grade-obj-users.sh

Tasks

  1. Group rhcsausers GID 4000.
  2. User natasha UID 2000, bash, GECOS Exam Operator, supplementary rhcsausers, password ExamPass123!.
  3. User harry UID 2001, bash, in rhcsausers. chage: max 90, inactive 7.
  4. User sarah with nologin.
  5. natasha NOPASSWD all commands via /etc/sudoers.d/ only.