Skip to content
All paths
Beginner → IntermediateDevOps & Cloud

Linux Administration (RHCSA-style)

A hands-on path through everyday Linux administration, aligned with the RHCSA objectives and equally useful on Ubuntu. You learn the shell, permissions, users, packages, systemd, storage with LVM, networking, SSH, SELinux, scheduling, troubleshooting, backups and Podman containers, then prove it by provisioning and hardening a server and solving timed exam-style tasks.

What you will be able to do

  • Work fluently in the shell and manage files, permissions, ACLs, users and sudo
  • Install software and manage services, logs and the boot process with systemd
  • Partition disks, build LVM volumes and file systems, and mount them persistently
  • Configure networking, firewalls and hardened key-based SSH access
  • Troubleshoot SELinux denials, performance problems and failed services methodically
  • Automate admin tasks with scripts, timers and Podman containers run as services

Roadmap

Bar length shows each module's share of study time.

  1. 1

    Shell & essential tools

    Get comfortable and fast at the command line.

    12h4 topics
    Not started
    Show topics
  2. 2

    Files, permissions & ACLs

    Control who can read, change and run what.

    9h 30m4 topics
    Not started
    Show topics
    • Create, copy, move and link files and locate anything with find.

      • Copy, move and remove files safely
      • Create hard and symbolic links
      • Find files by name, size, owner, time
      • Run actions on find results
    • Set exactly the right permissions and ownership with chmod, chown and umask.

      • Read permissions in ls -l output
      • Use symbolic and octal chmod
      • Change owners with chown and chgrp
      • Set default permissions with umask
    • Build a shared group directory and explain each special permission bit.

      • Explain SUID on executables
      • Use SGID for shared group directories
      • Protect shared dirs with the sticky bit
      • Audit SUID files with find
    • Grant per-user and default permissions with setfacl beyond owner, group and other.

      • Read ACLs with getfacl
      • Grant a user access with setfacl
      • Set default ACLs on directories
      • Understand the ACL mask
  3. 3

    Users, groups & sudo

    Manage accounts and delegate privileges safely.

    5h 30m2 topics
    Not started
    Show topics
    • Create, modify and lock accounts and enforce password aging.

      • Create users with useradd and passwd
      • Manage groups and supplementary membership
      • Read /etc/passwd, /etc/shadow, /etc/group
      • Set password aging with chage
      • Set defaults in /etc/login.defs
    • Grant scoped administrative rights with sudoers drop-in files edited via visudo.

      • Add users to wheel or sudo group
      • Write drop-ins in /etc/sudoers.d
      • Validate syntax with visudo -c
      • Restrict commands in a sudo rule
  4. 4

    Package management

    Install, update and trust software on RHEL and Debian families.

    5h 30m2 topics
    Not started
    Show topics
    • Install, update and query packages and configure a custom repository with dnf.

      • Search, install and remove with dnf
      • Query installed packages with rpm -q
      • Add a repo file in /etc/yum.repos.d
      • Import and verify GPG keys
      • Inspect history and roll back
    • Manage packages and sources on Debian-family systems.

      • Update indexes and upgrade with apt
      • Install and remove packages
      • Query packages with dpkg -l and -L
      • Add a third-party source safely
  5. 5

    Processes, services & logs

    Control what runs, when it starts and why it failed.

    14h 30m5 topics
    Not started
    Show topics
    • Find, prioritise and stop processes with ps, top, kill and nice.

      • List processes with ps and pgrep
      • Watch usage interactively in top
      • Send signals with kill and pkill
      • Adjust priority with nice and renice
      • Manage jobs with bg, fg and jobs
    • Start, stop, enable and inspect services and understand unit dependencies.

      • Start, stop and restart services
      • Enable and disable services at boot
      • Read status and failed units
      • Mask units to prevent starting
      • List dependencies of a unit
    • Write a service unit and override vendor settings with drop-in files.

      • Read a vendor unit with systemctl cat
      • Write a custom service unit
      • Override settings with systemctl edit
      • Reload with daemon-reload
    • Filter logs by unit, priority and time and keep the journal across reboots.

      • Filter journal by unit and priority
      • Filter by time and boot
      • Make the journal persistent
      • Find classic logs in /var/log
    • Explain the boot sequence, switch targets and reset a lost root password.

      • Trace firmware, GRUB, kernel, systemd
      • Set the default target
      • Boot into rescue or emergency target
      • Reset the root password via rd.break
      • Change kernel arguments with grubby
  6. 6

    Storage

    Disks, partitions, LVM, file systems and network mounts.

    16h5 topics
    Not started
    Show topics
    • Inspect block devices and create GPT partitions with parted or fdisk.

      • List devices with lsblk and blkid
      • Compare MBR and GPT
      • Create partitions with fdisk or parted
      • Inform the kernel with partprobe
    • Create, label, check and grow ext4 and xfs file systems.

      • Create file systems with mkfs
      • Label and identify by UUID
      • Grow xfs and ext4 file systems
      • Check usage with df and du
    • Mount file systems and swap persistently and safely by UUID.

      • Mount and unmount manually
      • Add UUID entries to /etc/fstab
      • Test fstab with mount -a
      • Create and enable swap
      • Find what keeps a mount busy
    • Build, extend and resize logical volumes online without downtime.

      • Create PVs, a VG and LVs
      • Extend a VG with a new disk
      • Grow an LV and its file system
      • Set physical extent size
      • Inspect with pvs, vgs and lvs
    • Mount NFS exports manually, persistently and on demand with autofs.

      • Discover exports with showmount
      • Mount an NFS share manually
      • Persist NFS mounts in fstab
      • Configure autofs direct and indirect maps
    Module resources:lvm(8) ↗fstab(5) ↗
  7. 7

    Networking

    Addresses, routes, names and firewalls.

    11h 30m4 topics
    Not started
    Show topics
    • Read interfaces, addresses, routes and listening ports and test connectivity.

      • Explain IPv4, CIDR and IPv6 basics
      • Inspect addresses and routes with ip
      • List listening ports with ss
      • Test with ping, tracepath and curl
    • Configure static and DHCP connections persistently with nmcli.

      • List devices and connections
      • Create a static IPv4 connection
      • Modify DNS and gateway settings
      • Bring connections up and down
      • Know netplan on Ubuntu
    • Set the hostname, debug name resolution and keep time in sync with chrony.

      • Set hostname with hostnamectl
      • Trace resolution via /etc/hosts and DNS
      • Query DNS with dig and getent
      • Configure chrony NTP servers
      • Check sync with chronyc sources
    • Open only the required services and ports and make the rules permanent.

      • Explain zones in firewalld
      • Allow services and ports permanently
      • Reload and verify active rules
      • Manage rules with ufw on Ubuntu
  8. 8

    SSH & mandatory access control

    Secure remote access, then confine services with SELinux or AppArmor.

    11h4 topics
    Not started
    Show topics
    • Log in with SSH keys, copy files securely and use an SSH config file.

      • Generate an ed25519 key pair
      • Install keys with ssh-copy-id
      • Copy files with scp and rsync
      • Write ~/.ssh/config host entries
    • Disable root and password logins and restrict who can connect.

      • Disable root and password logins
      • Restrict users with AllowGroups
      • Validate config with sshd -t
      • Rate-limit attacks with fail2ban
    • Diagnose and fix SELinux denials with contexts, booleans and port labels.

      • Switch enforcing and permissive modes
      • Read contexts with ls -Z and ps -Z
      • Restore contexts with restorecon
      • Set persistent rules with semanage fcontext
      • Toggle booleans with setsebool -P
      • Read denials with ausearch
    • Check AppArmor profile status and switch a profile between modes.

      • List profiles with aa-status
      • Compare enforce and complain modes
      • Find denials in the journal
  9. 9

    Scheduling & shell scripting

    Make the machine do routine work for you.

    12h 30m4 topics
    Not started
    Show topics
    • Schedule recurring and one-off jobs with crontab and at.

      • Read the five crontab time fields
      • Edit user crontabs with crontab -e
      • Use /etc/cron.d for system jobs
      • Schedule one-off jobs with at
    • Replace a cron job with a systemd timer and service pair.

      • Write a oneshot service
      • Write a timer with OnCalendar
      • Test expressions with systemd-analyze calendar
      • List timers with systemctl list-timers
    • Write robust bash scripts with arguments, conditionals, loops and functions.

      • Start with shebang and set -euo pipefail
      • Handle arguments and exit codes
      • Use if, test and case
      • Loop over files and command output
      • Write functions with local variables
    • Automate user creation, disk checks and reports with safe, idempotent scripts.

      • Bulk-create users from a CSV
      • Alert on low disk space
      • Log script output to the journal
      • Make scripts idempotent and re-runnable
      • Lint scripts with shellcheck
  10. 10

    Monitoring, backups & containers

    Keep systems healthy, recoverable and running modern workloads.

    15h5 topics
    Not started
    Show topics
    • Tell whether a slow server is short of CPU, memory or disk I/O.

      • Read load average and CPU states
      • Check memory and swap with free
      • Spot I/O wait with vmstat and iostat
      • Find top consumers with ps --sort
      • Apply profiles with tuned-adm
    • Work from symptom to root cause with a repeatable checklist.

      • Define the symptom and recent changes
      • Check services, logs and resources
      • Test network, DNS and ports
      • Fix full disks and inode exhaustion
      • Write down the root cause
    • Create compressed archives and incremental rsync backups and prove they restore.

      • Create and extract tar.gz and tar.xz
      • Sync directories with rsync
      • Back up to a remote host over SSH
      • Apply the 3-2-1 backup rule
      • Test restores regularly
    • Find, run and manage rootless containers with persistent storage and published ports.

      • Search and pull images from registries
      • Run containers with ports and env vars
      • Mount persistent storage with :Z
      • Inspect logs and exec into containers
      • Build an image from a Containerfile
    • Start a rootless container automatically at boot with a Quadlet unit.

      • Write a Quadlet .container file
      • Enable lingering with loginctl
      • Manage it with systemctl --user
      • Verify it survives a reboot
  11. 11

    Capstone & timed practice

    Build a server end to end, then practise under exam conditions.

    17h3 topics
    Not started
    Show topics
    • Turn a fresh VM into a working web or file server with storage, users and services.

      • Set hostname, network and time
      • Create users, groups and sudo rules
      • Build LVM storage mounted at /srv
      • Install and enable a web server
      • Schedule a nightly backup timer
    • Lock the server down and verify each control from a second machine.

      • Enforce key-only SSH logins
      • Open only needed firewall services
      • Keep SELinux enforcing with correct labels
      • Enable automatic security updates
      • Audit with ss, find and logs
    • Complete a full set of exam-style tasks in under three hours with everything surviving a reboot.

      • Reset root and fix networking first
      • Drill storage, users and permissions tasks
      • Drill SELinux, firewall and container tasks
      • Reboot and verify every task persists
      • Repeat until under three hours