Amazon Linux 2023 must have the sudo package installed.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-274012AZLX-23-001000SV-274012r1120710_ruleCCI-002235medium
Description
The "sudo" program is 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.
STIGDate
Amazon Linux 2023 Security Technical Implementation Guide2026-02-27

Details

Check Text (C-274012r1120710_chk)

Verify Amazon Linux 2023 has the sudo package installed with the following command: $ dnf list --installed sudo Installed Packages sudo.x86_64 1.9.15-1.p5.amzn2023.0.1 @System If the "sudo" package is not installed, this is a finding.

Fix Text (F-78008r1120023_fix)

Configure Amazon Linux 2023 to have the sudo package installed with the following command: $ sudo dnf install -y sudo