STIGUI
V-216124CAT II — Medium severitySV-216124r959010_rule

Logins to the root account must be restricted to the system console only.

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

Discussion

Use an authorized mechanism such as RBAC and the "su" command to provide administrative access to unprivileged accounts. These mechanisms provide an audit trail in the event of problems.

Check

This check applies to the global zone only. Determine the zone that you are currently securing.

# zonename

If the command output is "global", this check applies.

Determine if root login is restricted to the console.

# grep "^CONSOLE=/dev/console" /etc/default/login

If the output of this command is not:

CONSOLE=/dev/console

this is a finding.

Fix

The root role is required.

Modify the /etc/default/login file

# pfedit /etc/default/login

Locate the line containing:

CONSOLE

Change it to read:

CONSOLE=/dev/console

Identifiers

Group ID
V-216124
Group title
SRG-OS-000480
Rule ID
SV-216124r959010_rule
Check ID
C-17362r372754_chk
Fix ID
F-17360r372755_fix