RHEL-09-255105 - RHEL 9 SSH server configuration file must be group-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 and the contents of "/etc/ssh/sshd_config.d" to be group-owned by root with the following command:

$ sudo chgrp root /etc/ssh/sshd_config /etc/ssh/sshd_config.d

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-257997r1069370_rule, STIG-ID|RHEL-09-255105, Vuln-ID|V-257997

Plugin: Unix

Control ID: 2329519e0060c371c953b909650b5794f06dec1b41b0924f80a952d0f8a8b223