Study guide · Core notes

RHCSA: tasks that survive reboot

Reference notes for the EX200 study points on the page that says the exam is based on Red Hat Enterprise Linux 10. Each section names the command or file, and the check you run after a reboot.

EX200 · RHEL 10Ten objective groupsReviewed November 12, 2026

How to read these notes: Unmarked items sit on the published EX200 study points. Items tagged Extra are job context that list does not require. New to the exam? Start with the overview for the version notice. Practice on a system you can rebuild. Do not reset passwords or change SELinux on a machine you do not own.

Essential tools

Shell syntax, files, links, and local documentation.

Redirection

> writes standard output and truncates the file. >> appends. 2> writes standard error. >file 2>&1 sends both streams to the file. | connects two commands. < reads a file as input.

Find text and files

grep -E uses extended regular expressions. ln target name creates a hard link on the same filesystem and shares the inode. ln -s target name stores a path and can dangle or cross filesystems. tar -czf creates a gzip archive. tar -cjf uses bzip2. tar -xzf extracts gzip.

Permissions

Mode digits are owner, group, other. 4 is read, 2 is write, 1 is execute. 640 is rw-r-----. On a directory, execute is the traverse bit. chmod changes the mode. chown user:group changes ownership. su - user starts a login shell as that account.

Documentation

man and info are on the study point, along with files under /usr/share/doc. During the exam, the product documentation that ships with the system is the reference Red Hat allows. Outside notes are not.

Software

RPM repositories and Flatpak. Containers are not in this study-point list.

DNF repositories

Put a .repo file in /etc/yum.repos.d/ with a unique id, name, baseurl or metalink, enabled=1, and gpgcheck. dnf repolist shows what is enabled. dnf install and dnf remove change the RPM database. A local file is dnf install /path/package.rpm.

Flatpak

flatpak remotes lists repositories. flatpak remote-add configures one. flatpak install rhel application-id installs from the Red Hat remote documented for RHEL 10. flatpak uninstall removes the application. dnf remove does not manage that application id.

Where packages come from

The deploy objective also says to install from the Red Hat CDN, a remote repository, or the local filesystem. A CDN install follows whatever registration the lab provides, then dnf. The graded fact is that the package is installed after reboot.

Containers Extra

Podman, skopeo, and a container service were common on RHEL 9 objective sheets. The EX200 page reviewed on November 12, 2026 does not list them. The audience paragraph still mentions container technology. Follow the study points, then check the page again before you book.

Shell scripts

Conditionals, loops, arguments, and command output.

Arguments

$1 is the first argument. $0 is the name used to invoke the script. $# is the count. "$@" is the list, one argument per word when quoted. Quote "$1" so an empty value does not break [ ].

Tests and loops

if [ -f "$1" ]; then ...; fi checks a regular file. -d is a directory. ! negates the test. for name in "$@"; do ...; done walks the arguments. $(command) captures output. exit 1 stops the script with a failure status.

Make it runnable

Start with #!/bin/bash. chmod u+x sets the execute bit, or run it as bash script. A message for the operator goes to standard error with >&2.

What to leave behind

If the task says the script must exist for the grader, the file has to be on disk in the requested path, with the requested mode, after reboot. A command you only typed in the shell is not the script.

Running systems

Targets, recovery, processes, journals, and file copy.

Targets

systemctl isolate rescue.target switches now. systemctl set-default changes the next boot and is listed again under deploy and maintain. emergency.target is the smaller shell. rescue.target mounts local filesystems and starts a few early services.

Regain access

On a disposable VM, interrupt GRUB, add rd.break, remount /sysroot read-write, chroot /sysroot, and set the password. touch /.autorelabel so the next boot restores SELinux contexts on files the recovery touched. Then reboot and confirm a normal login.

Processes and profiles

ps and top find a heavy process. kill sends SIGTERM. kill -9 sends SIGKILL when the process ignores a normal stop and is not stuck in uninterruptible sleep. nice sets priority at start. renice changes a running PID. tuned-adm active shows the profile. tuned-adm profile selects one.

Journals and copy

journalctl -u name reads one unit. A journal under /run is lost on reboot. Create /var/log/journal or set Storage=persistent in /etc/systemd/journald.conf, then restart systemd-journald. scp and sftp copy files over SSH.

Local storage

GPT, LVM, and mounts that survive a device rename.

GPT

parted /dev/vdb mklabel gpt writes a new label and drops the old partitions. Use it on a disk you mean to repartition. mkpart creates a partition. set 1 lvm on marks it for LVM. The study points name GPT disks. An MBR label is not the task they describe.

LVM

pvcreate, then vgcreate, then lvcreate -n name -L size vg. Format the logical volume after it exists. lvremove deletes it. Adding a new volume or swap beside existing mounted volumes is the non-destructive path.

fstab

blkid prints the UUID. An fstab line uses UUID= or LABEL=, the mount point, the type, options, and dump and fsck fields. mount -a tests the file before you reboot. Reformatting creates a new UUID, so update fstab after mkfs.

Swap

mkswap writes the signature. swapon enables it. The fstab type is swap. Do not run mkfs on a volume you intend to use as swap.

File systems

VFAT, ext4, XFS, NFS, autofs, and permission checks.

Create and mount

mkfs.vfat, mkfs.ext4, and mkfs.xfs build the three types named on the study point. mount and umount attach and detach them. If umount says the target is busy, lsof or fuser finds the process still using it.

Grow the filesystem

lvextend changes the volume. df stays at the old size until the filesystem grows. xfs_growfs grows a mounted XFS filesystem and cannot shrink XFS. resize2fs grows ext4. lvextend -r calls the matching tool. Formatting again destroys the files.

NFS and autofs

mount -t nfs server:/export /mnt is the one-shot client mount. In fstab, add _netdev so the mount waits for the network. /etc/auto.master points a directory at a map. The map lists the key, the type, and the export. autofs mounts when the key is accessed. fstab mounts at boot.

Permission faults

A directory without execute cannot be traversed. A file without read cannot be opened. namei -l /path shows each component. Fix the mode or the owner. Do not open the tree to everyone to hide a single missing bit.

Deploy and maintain

Clocks, services, time sync, and the boot loader.

at, cron, timers

at runs once. crontab -e and files under /etc/cron.d/ repeat. crond has to be enabled. A systemd timer has OnCalendar= and is paired with a service. systemctl enable --now name.timer arms it across reboot. Enabling only the service does not create the schedule.

Boot services

systemctl enable --now httpd starts the unit and links it for the next boot. systemctl start does not enable it. systemctl set-default multi-user.target stores the default target. systemctl get-default only reads it.

Time

timedatectl set-ntp true enables chronyd. chronyc sources and timedatectl status show synchronization. Server lines live in /etc/chrony.conf. date -s sets the clock once and does not keep it aligned.

Boot loader

RHEL documentation uses grubby to change boot entries and kernel arguments, for example grubby --update-kernel=ALL --args=. A one-time edit at the GRUB menu lasts for that boot. grubby --info=ALL shows the entries you are about to reboot into.

Networking

NetworkManager keyfiles, names, and firewalld.

Addresses

nmcli connection modify NAME ipv4.method manual ipv4.addresses 192.0.2.10/24 ipv4.gateway 192.0.2.1 ipv4.dns 192.0.2.53 stores a static profile. Set connection.autoconnect yes, then nmcli connection up NAME. IPv6 uses ipv6.addresses and ipv6.method manual. ip addr add disappears when the connection restarts.

ifcfg Extra

RHEL 10 adoption notes say ifcfg support was removed, and dhclient was removed. Profiles are keyfiles under /etc/NetworkManager/system-connections/. Do not follow a guide that creates /etc/sysconfig/network-scripts/ifcfg-eth0.

Names

hostnamectl set-hostname host.example.com sets the system name. /etc/hosts resolves a name on this host without DNS. The connection ipv4.dns list is the resolver the profile installs.

firewalld

firewall-cmd --permanent --add-service=http writes the saved configuration. firewall-cmd --reload applies it. --list-all shows the running zone. --permanent --list-all shows the saved zone. A runtime-only change is lost on reboot.

Users and groups

Accounts, aging, and sudo.

Accounts

useradd creates a user. On RHEL, CREATE_HOME defaults to yes, so the home is created unless you pass -M. -m forces the home. groupadd creates a group. usermod -aG devs user appends a supplementary group. usermod -G devs user replaces the supplementary list.

Passwords

passwd user sets the password. chage -l user shows aging. chage -M 90 -m 7 -W 14 user sets maximum, minimum, and warning days. chage -d 0 user expires the password so the next login must change it. chage -E sets an account expiration date.

sudo

Edit /etc/sudoers or a file under /etc/sudoers.d/ with visudo. %wheel ALL=(ALL) ALL grants the group. The percent sign is required. A new group membership appears in a new login. The shell you already have keeps the old groups until newgrp or a new session.

Check the result

id user shows uid and groups. Log in as the user and run a sudo command. Confirm the home and the aging dates after reboot. An account that exists only in your notes is not on the system.

Security

firewalld, umask, SSH keys, and SELinux.

Default permissions

umask 027 clears group write and every other bit. A new file becomes 640. A new directory becomes 750. Put the umask in the profile or shell startup file that a login reads. A umask typed in one shell does not apply to the next login.

SSH keys

ssh-keygen creates a key pair. The public key belongs in ~/.ssh/authorized_keys. The directory should be mode 700 and the file mode 600, both owned by the user. restorecon -R ~/.ssh puts the SELinux type back. PasswordAuthentication no turns off passwords and leaves public-key login available.

SELinux mode and labels

getenforce shows the running mode. setenforce 0 is permissive until reboot. setenforce 1 is enforcing. The boot mode is SELINUX= in /etc/selinux/config. ls -Z and ps -Z show contexts. restorecon -Rv path restores file contexts from policy. chcon can set a label that a later relabel replaces.

Ports and booleans

semanage port -a -t http_port_t -p tcp 8080 adds a port label. Use -m when the port already has a type. setsebool -P httpd_can_network_connect on keeps a boolean across reboot. -P is the persistent flag. Opening the port in firewalld does not set the SELinux type, and a boolean does not open the firewall.

Six checks on a disposable lab

Say what you expect to see before you run the command. Then reboot and say what should still be true.

A UUID mount

Format a spare volume, copy the UUID from blkid into fstab, and run mount -a.

What to verify: the directory is mounted after reboot. Change the UUID by reformatting a snapshot and confirm the old fstab line fails until you update it.

Volume size and filesystem size

Create a small XFS logical volume, fill it until df is nearly full, and run lvextend without -r.

What to verify: lvs shows the larger volume and df does not, until xfs_growfs or lvextend -r. Do not run mkfs again on the volume that holds the files.

A firewall that survives reboot

Add the http service with --permanent and compare --list-all with --permanent --list-all before you reload.

What to verify: the running zone gains http only after --reload, and it is still there after reboot. A runtime-only add is gone.

SELinux after a permissive test

Cause an AVC, run setenforce 0, confirm the action works, and reboot without editing /etc/selinux/config.

What to verify: the boot returns to the mode in the config file. A permanent permissive lab requires SELINUX=permissive in that file. Use restorecon when the denial is a file label.

A group that the current shell cannot see

Add your test user to a new group with usermod -aG and compare id in the old shell with id in a new login.

What to verify: the new login lists the group. The old shell does not, until newgrp or a new session. -G without -a would have replaced the other supplementary groups.

A static address in the keyfile

Set a manual IPv4 address with nmcli connection modify, bring the connection up, and reboot.

What to verify: the address is back. Repeat the experiment with only ip addr add and confirm that address is gone. On RHEL 10, do not create an ifcfg file.

Frequently asked questions

Which study points do these notes follow?

These notes follow the EX200 study points on the page that says the exam is based on Red Hat Enterprise Linux 10, reviewed on November 12, 2026. Items tagged Extra are job context that list does not require.

Do the notes replace the official study points?

No. Use them with the published EX200 study points and the RHEL 10 product documentation. Practice on a system you can rebuild.

Should Podman be in the study plan for this list?

The study points reviewed on November 12, 2026 do not include a containers section. They do include Flatpak. The audience text on the same page still mentions container technology. Practice the published task list, and read it again before you book. Podman is marked Extra here.

Continue the RHCSA study path

Use the notes, then test recall with cards and a timed practice set.

RHCSA hub →
Available

Overview

Exam format, the RHEL 10 study points, and a lab plan.

Available · You are here

Core Notes

Reference notes for storage, networking, users, firewalld, and SELinux.

Available

Practice Exams

300 original questions with custom exams, explanations, and a practice percentage.

Official technical sources

Start with the EX200 study points. For command behavior on this version, use the RHEL 10 documentation, including the notes on networking changes, kernel command lines, chrony, and Flatpak. Confirm commands in the local manual pages on the system you practice on.

LPIC-2

Compare a vendor-neutral advanced Linux exam with this RHEL performance exam.

CompTIA Server+

Review server hardware, storage, and recovery alongside RHEL administration.

Apply concepts in the Scenario Workshop →