SV-256581r991589_rule
V-256581
SRG-OS-000480-GPOS-00227
PHTN-30-000112
CAT II
10
At the command line, run the following commands:
# chmod 600 /etc/ssh/sshd_config
# chown root:root /etc/ssh/sshd_config
At the command line, run the following command:
# stat -c "%n permissions are %a and owned by %U:%G" /etc/ssh/sshd_config
Expected result:
/etc/ssh/sshd_config permissions are 600 and owned by root:root
If the output does not match the expected result, this is a finding.
V-256581
False
PHTN-30-000112
At the command line, run the following command:
# stat -c "%n permissions are %a and owned by %U:%G" /etc/ssh/sshd_config
Expected result:
/etc/ssh/sshd_config permissions are 600 and owned by root:root
If the output does not match the expected result, this is a finding.
M
5520