AZLX-23-001000 - Amazon Linux 2023 must have the sudo package installed.

Information

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.

Solution

Configure Amazon Linux 2023 to have the sudo package installed with the following command:

$ sudo dnf install -y sudo

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Amazon_Linux_2023_V1R2_STIG.zip