STIGUI
V-261375CAT II — Medium severitySV-261375r996562_rule

SLEM 5 must restrict privilege elevation to authorized personnel.

Rule version SLEM-05-432025 · STIG v1 · 2026-08-20

Discussion

The sudo command allows a user to execute programs with elevated (administrator) privileges. It prompts the user for their password and confirms the request to execute a command by checking a file, called sudoers. If the "sudoers" file is not configured correctly, any user defined on the system can initiate privileged actions on the target system.

Check

Verify the "sudoers" file restricts sudo access to authorized personnel with the following command:

     > sudo grep -iw 'ALL' /etc/sudoers /etc/sudoers.d/*
     root ALL=(ALL) ALL

If "ALL ALL=(ALL) ALL" or "ALL ALL=(ALL:ALL) ALL" entries are returned, this is a finding.

Fix

Remove the following entries from the "/etc/sudoers" file:

ALL ALL=(ALL) ALL ALL ALL=(ALL:ALL) ALL

Identifiers

Group ID
V-261375
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-261375r996562_rule
Check ID
C-65104r996561_chk
Fix ID
F-65012r995991_fix