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

Direct root account login must not be permitted for SSH access.

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

Discussion

The system should not allow users to log in as the root user directly, as audited actions would be non-attributable to a specific user.

Check

Determine if root login is disabled for the SSH service.

# grep "^PermitRootLogin" /etc/ssh/sshd_config

If the output of this command is not:

PermitRootLogin no

this is a finding.

Fix

The root role is required.

Modify the sshd_config file

# pfedit /etc/ssh/sshd_config

Locate the line containing:

PermitRootLogin

Change it to:

PermitRootLogin no

Restart the SSH service.

# svcadm restart svc:/network/ssh

Identifiers

Group ID
V-216354
Group title
SRG-OS-000480
Rule ID
SV-216354r959010_rule
Check ID
C-17590r371150_chk
Fix ID
F-17588r371151_fix