STIGQter STIGQter: STIG Summary: Cloud Linux AlmaLinux OS 9 Security Technical Implementation Guide Version: 1 Release: 7 Benchmark Date: 01 Jul 2026:

AlmaLinux OS 9 must not allow users to override SSH environment variables.

DISA Rule

SV-269439r1050322_rule

Vulnerability Number

V-269439

Group Title

SRG-OS-000425-GPOS-00189

Rule Version

ALMA-09-043030

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

To configure the system to prevent users from overriding SSH environment variables, add or modify the following line in "/etc/ssh/sshd_config":

PermitUserEnvironment no

Alternatively, add the setting to an include file if the line "Include /etc/ssh/sshd_config.d/*.conf" is found at the top of the "/etc/ssh/sshd_config" file:

$ echo "PermitUserEnvironment no" > /etc/ssh/sshd_config.d/environment.conf

Restart the SSH daemon for the settings to take effect:

$ systemctl restart sshd.service

Check Contents

Verify the SSH daemon prevents users from overriding SSH environment variables with the following command:

$ sshd -T | grep permituserenvironment

permituserenvironment no

If the "PermitUserEnvironment" keyword is set to "yes", or no output is returned, this is a finding.

Vulnerability Number

V-269439

Documentable

False

Rule Version

ALMA-09-043030

Severity Override Guidance

Verify the SSH daemon prevents users from overriding SSH environment variables with the following command:

$ sshd -T | grep permituserenvironment

permituserenvironment no

If the "PermitUserEnvironment" keyword is set to "yes", or no output is returned, this is a finding.

Check Content Reference

M

Target Key

5664