STIGUI
V-216340CAT II — Medium severitySV-216340r1016277_rule

The operating system must require individuals to be authenticated with an individual authenticator prior to using a group authenticator.

Rule version SOL-11.1-040230 · STIG v3 · 2026-08-19

Discussion

Allowing any user to elevate their privileges can allow them excessive control of the system tools.

Check

Verify the root user is configured as a role, rather than a normal user.

# userattr type root

If the command does not return the word "role", this is a finding.

Verify at least one local user has been assigned the root role.

# grep '[:;]roles=root[^;]*' /etc/user_attr

If no lines are returned, or no users are permitted to assume the root role, this is a finding.

Fix

The root role is required.

Convert the root user into a role.

# usermod -K type=role root

Add the root role to authorized users' logins.

# usermod -R +root [username]

Remove the root role from users who should not be authorized to assume it.

# usermod -R -root [username]

Identifiers

Group ID
V-216340
Group title
SRG-OS-000109
Rule ID
SV-216340r1016277_rule
Check ID
C-17576r371108_chk
Fix ID
F-17574r371109_fix