Learn › RHCSA (EX200) › Users and Groups
useradd - a hands-on Linux lab on a real virtual machine.
The RHCSA users-groups capstone on a real RHEL 10 machine. Create a user, a shared group, password aging, a sudo drop-in, and a locked service account, graded on live end-state. Mission mode.
You have finished the Users and Groups module. Now you provision the accounts on a real RHEL 10 machine: a user, a group, password aging, a sudo grant, and a locked service account. Every piece is graded on the live result, exactly like the exam.
Five objectives, one real machine. Everything you set is checked against the running system.
This is mission mode. No commands are shown. You read the objective, recall the tool, and provision the account. You will need root, so reach for sudo. Progress checks itself.
One quick rep before you start. Every account is a line in /etc/passwd. Read root's line to remind yourself of the seven fields.
prompt: [root@servera ~]# answer: getent passwd root output: root:x:0:0:root:/root:/bin/bash hint: getent reads the account databases; getent passwd root prints root's line.
Seven colon-separated fields: name, password placeholder, UID, GID, comment, home, and login shell. You will set several of these by hand in a moment. Now build the roster.
Boot the machine below and take the console. Read ~/ROSTER.txt for the checklist. Five objectives: a user mia with the comment Mia Ops and shell /bin/bash, a group engineering with mia in it, password aging on mia (60-day max, 10-day warning), a sudoers drop-in granting engineering full sudo, and a service account batch that cannot log in. Work as root.
Practice Mission Control: Operation Roster in a real Linux terminal at The Linux Camp. Progress is verified automatically as you type commands on the machine.