AlmaLinux OS 9 must have the sudo package installed.

STIG ID: ALMA-09-006840  |  SRG: SRG-OS-000324-GPOS-00125 |  Severity: medium |  CCI: CCI-002235 |  Vulnerability Id: V-269142

Vulnerability Discussion

"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 complete their work.

Check

Verify that the AlmaLinux OS 9 sudo package is installed with the following command:

$ dnf list --installed sudo

Installed Packages
sudo.x86_64 1.9.5p2-9.el9 @anaconda

If the "sudo" package is not installed, this is a finding.

Fix

The sudo package can be installed with the following command:

$ dnf install sudo