STIGUI
V-217269CAT II — Medium severitySV-217269r991591_rule

The SUSE operating system must not allow users to override SSH environment variables.

Rule version SLES-12-030151 · STIG v3 · 2025-11-24

Discussion

SSH environment options potentially allow users to bypass access restriction in some configurations.

Check

Verify the SUSE operating system disables unattended via SSH.

Check that unattended logon via SSH is disabled with the following command:

# sudo grep -i "permituserenvironment" /etc/ssh/sshd_config

PermitUserEnvironment no

If the "PermitUserEnvironment" keyword is not set to "no", is missing completely, or is commented out, this is a finding.

Fix

Configure the SUSE operating system disables unattended logon via SSH.

Add or edit the following lines in the "/etc/ssh/sshd_config" file:

PermitUserEnvironment no

Identifiers

Group ID
V-217269
Group title
SRG-OS-000480-GPOS-00229
Rule ID
SV-217269r991591_rule
Check ID
C-18497r369963_chk
Fix ID
F-18495r369964_fix