Skip to content

OL 8 must not allow users to override SSH environment variables.

An XCCDF Rule

Description

<VulnDiscussion>SSH environment options potentially allow users to bypass access restriction in some configurations.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>

ID
SV-248650r991591_rule
Severity
High
References
Updated



Remediation - Manual Procedure

Configure OL 8 to allow the SSH daemon to not allow unattended or automatic login to the system. 
 
Add or edit the following line in the "/etc/ssh/sshd_config" file: 
 
PermitUserEnvironment no