UCF STIG Viewer Logo

The Photon operating system must configure sshd to use privilege separation.


Finding ID Version Rule ID IA Controls Severity
V-239159 PHTN-67-000088 SV-239159r675285_rule Medium
Privilege separation in sshd causes the process to drop root privileges when not needed, which would decrease the impact of software vulnerabilities in the unprivileged section.
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide 2022-06-17


Check Text ( C-42370r675283_chk )
At the command line, execute the following command:

# sshd -T|&grep -i UsePrivilegeSeparation

Expected result:

UsePrivilegeSeparation yes

If the output does not match the expected result, this is a finding.
Fix Text (F-42329r675284_fix)
Open /etc/ssh/sshd_config with a text editor.

Ensure that the "UsePrivilegeSeparation" line is uncommented and set to the following:

UsePrivilegeSeparation yes

At the command line, execute the following command:

# service sshd reload