SV-239155r675273_rule
V-239155
SRG-OS-000480-GPOS-00227
PHTN-67-000084
CAT II
10
Open /etc/ssh/sshd_config with a text editor.
Ensure that the "PermitUserEnvironment" line is uncommented and set to the following:
PermitUserEnvironment no
At the command line, execute the following command:
# service sshd reload
At the command line, execute the following command:
sshd -T|&grep -i PermitUserEnvironment
Expected result:
PermitUserEnvironment no
If the output does not match the expected result, this is a finding.
V-239155
False
PHTN-67-000084
At the command line, execute the following command:
sshd -T|&grep -i PermitUserEnvironment
Expected result:
PermitUserEnvironment no
If the output does not match the expected result, this is a finding.
M
5323