DISA STIGS Viewer

The root account must be the only account with GID of 0.

Overview

Finding ID Version Rule ID IA Controls Severity
V-216201 SOL-11.1-070220 SV-216201r959010_rule   Medium
Description
All accounts with a GID of 0 have root group privileges and must be limited to the group account only.
STIG Date
Solaris 11 X86 Security Technical Implementation Guide 2024-11-25

Details

Check Text (C-17439r372985_chk)
Identify any users with GID of 0.

# awk -F: '$4 == 0' /etc/passwd
# awk -F: '$3 == 0' /etc/group
Confirm the only account with a group id of 0 is root.

If the root account is not the only account with GID of 0, this is a finding.
Fix Text (F-17437r372986_fix)
The root role is required.

Change the default GID of non-root accounts to a valid GID other than 0.