OL 8 must not allow users to override SSH environment variables.
An XCCDF Rule
Description
SSH environment options potentially allow users to bypass access restriction in some configurations.
- ID
- SV-248650r991591_rule
- Version
- OL08-00-010830
- Severity
- High
- References
- Updated
Remediation Templates
A 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