OL09-00-002508 - OL 9 SSH server configuration file must be owned by root.

Information

Service configuration files enable or disable features of their respective services, which if configured incorrectly, can lead to insecure and vulnerable configurations. Therefore, service configuration files must be owned by the correct group to prevent unauthorized changes.

Solution

Configure the "/etc/ssh/sshd_config" file to be owned by root with the following command:

$ sudo chown root /etc/ssh/sshd_config

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_9_V1R4_STIG.zip