STIGQter STIGQter: STIG Summary: Amazon Linux 2023 Security Technical Implementation Guide Version: 1 Release: 4 Benchmark Date: 01 Jul 2026:

Amazon Linux 2023 must require users to provide a password for privilege escalation.

DISA Rule

SV-274016r1120036_rule

Vulnerability Number

V-274016

Group Title

SRG-OS-000480-GPOS-00227

Rule Version

AZLX-23-001020

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure Amazon Linux 2023 to not allow users to execute privileged actions without authenticating with a password.

Remove any occurrence of "NOPASSWD" found in "/etc/sudoers" file or files in the "/etc/sudoers.d" directory.

$ sudo sed -i '/NOPASSWD/ s/^/# /g' /etc/sudoers /etc/sudoers.d/*

Check Contents

Verify Amazon Linux 2023 requires users to provide a password for privilege escalation.

Ensure that "/etc/sudoers" has no occurrences of "NOPASSWD" with the following command:

$ sudo grep -ri nopasswd /etc/sudoers /etc/sudoers.d/

If any occurrences of "NOPASSWD" are returned, this is a finding.

Vulnerability Number

V-274016

Documentable

False

Rule Version

AZLX-23-001020

Severity Override Guidance

Verify Amazon Linux 2023 requires users to provide a password for privilege escalation.

Ensure that "/etc/sudoers" has no occurrences of "NOPASSWD" with the following command:

$ sudo grep -ri nopasswd /etc/sudoers /etc/sudoers.d/

If any occurrences of "NOPASSWD" are returned, this is a finding.

Check Content Reference

M

Target Key

5700