CertGrid CertGrid
Concepts·CompTIA Linux+

How Linux+ differs from LFCS and RHCSA

All three are vendor-neutral-ish Linux administrator exams and the overlap is real. Two things make XK0-006 its own path: an Automation domain that expects you to write a script, commit it and run a container, and a Troubleshooting domain that is examined directly. This guide demonstrates the first on the lab machines rather than arguing it from a syllabus.

Start Here Guide 3 of 28 Beginner

Domain names are CompTIA's published objectives for XK0-006. The comparison with RHCSA and LFCS is against those vendors' own published objectives, all linked below.

Both package families, because XK0-006 does not tell you which one you will get. The hostnames are provisioning artefacts shared with the other Linux paths; the OS column is what matters.
Server NameIP AddressOSRolesCPURAMHDD
LPLUS-A01192.168.0.73Ubuntu 26.04 LTSDebian-family host - apt, ufw, netplan, AppArmor2 Core4 GB50 GB
LPLUS-B01192.168.0.74AlmaLinux 10.2RPM-family host - dnf, firewalld, NetworkManager, SELinux2 Core4 GB50 GB

This guide includes

Use this when choosing between three overlapping Linux exams. This matters because containers are what Linux+ has and the others do not - and Domain 4 wants a capability, not a topic you have read about.

Before you start

  1. The tools Domain 4 assumes you have

    Check they are actually there, on both families.

    bash Example session
    git --version; podman --version; echo "--- Domain 4 needs both of these, and neither RHCSA 10 nor LFCS tests them"git version 2.52.0podman version 5.8.2--- Domain 4 needs both of these, and neither RHCSA 10 nor LFCS tests themgit --version; podman --version; echo "--- Domain 4 needs both of these, and neither RHCSA 10 nor LFCS tests them"git version 2.52.0podman version 5.8.2--- Domain 4 needs both of these, and neither RHCSA 10 nor LFCS tests them

    Expected resultgit and podman present on both machines - 2.53.0 and 5.7.0 on Ubuntu, 2.52.0 and 5.8.2 on AlmaLinux.

    Success conditionYou can see what this exam expects that the others do not.

  2. Run a container, rootless, and leave nothing behind

    The Domain 4 capability, demonstrated rather than described.

    bash Example session
    podman run --rm docker.io/library/alpine:3.21 sh -c 'echo "a container ran, rootless, as $(id -un)"' 2>&1 | tail -3a container ran, rootless, as rootid -u; podman info --format '{{.Host.Security.Rootless}}' 2>/dev/null; echo "--- rootless: no root, no daemon"1000true--- rootless: no root, no daemonpodman ps -a --format '{{.Names}}' | wc -l; echo "containers left behind (0 means --rm did its job)"0containers left behind (0 means --rm did its job)

    Expected resultA container running as root INSIDE while the invoking user is not root outside, Rootless: true, and 0 containers left afterwards.

    Success conditionYou have run a container without privileges and cleaned up after it.

  3. Mandatory access control, which is not the same word on each

    The Security domain is family-neutral; the implementations are not.

    bash Example session
    echo "is the mandatory access control layer on?"; aa-status --enabled 2>/dev/null && echo "AppArmor: enabled" || sudo aa-status 2>&1 | head -2is the mandatory access control layer on?sudo: aa-status: command not foundecho "is the mandatory access control layer on?"; getenforce; sestatus 2>/dev/null | head -3is the mandatory access control layer on?EnforcingSELinux status:                 enabledSELinuxfs mount:                /sys/fs/selinuxSELinux root directory:         /etc/selinux

    Expected resultAppArmor enabled on the Debian host; Enforcing from getenforce on the RPM one.

    Success conditionYou know which mechanism you are looking at before you try to change it.

Troubleshooting

Official sources