RHEL 9 must have the sudo package installed.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-258083SRG-OS-000324-GPOS-00125RHEL-09-432010SV-258083r1045168_rule2025-02-272
Description
"sudo" is a program designed to allow a system administrator to give limited root privileges to users and log root activity. The basic philosophy is to give as few privileges as possible but still allow system users to get their work done.
ℹ️ Check
Verify that RHEL 9 sudo package is installed with the following command: $ dnf list --installed sudo Example output: sudo.x86_64 1.9.5p2-7.el9 If the "sudo" package is not installed, this is a finding.
✔️ Fix
The sudo package can be installed with the following command: $ sudo dnf install sudo