User and Group Management Flashcards
6 cards from real RHCE practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 User and Group Management flashcards as text
Which directory contains skeleton files copied to a new user's home directory?
Answer: /etc/skel
Files in `/etc/skel` are automatically copied into the home directory when a new user is created with `useradd -m`.
What command creates a group named `devops` with GID 1050?
Answer: groupadd -g 1050 devops
`groupadd -g 1050 devops` creates a new group named `devops` with the specified GID.
Which command forces user `jdoe` to change their password on next login?
Answer: passwd -e jdoe
`passwd -e` immediately expires a user's password, forcing them to set a new one at their next login.
What is the purpose of the `wheel` group in RHEL?
Answer: Grants members sudo privileges
Members of the `wheel` group are allowed to use `sudo` to run commands as root, as configured in `/etc/sudoers`.
Which command creates a system account (no home directory, low UID) named `appuser`?
Answer: useradd -r appuser
`useradd -r` creates a system account with a UID below `SYS_UID_MIN` and no home directory by default.
Which file controls group passwords and membership when managed with `gpasswd`?
Answer: /etc/gshadow
`/etc/gshadow` stores encrypted group passwords and group administrator information managed by `gpasswd`.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- redhat.com — Test delivery, renewal, score validity, exam format, score release · verified Oct 2026