{"description": " To properly set the owner of <code>/etc/sysconfig/sshd</code>, run the command:\n<pre>$ sudo chown root /etc/sysconfig/sshd </pre>\n", "rationale": "The <tt>/etc/sysconfig/sshd</tt> file contains configuration options for the SSH daemon.\nProtection of this file is important for system security. The file should be owned by root\nto prevent unauthorized changes.", "severity": "medium", "references": {}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "/etc/sysconfig/sshd does not have an owner of root", "ocil": "To check the ownership of <code>/etc/sysconfig/sshd</code>,\nrun the command:\n<pre>$ ls -lL /etc/sysconfig/sshd</pre>\nIf properly configured, the output should indicate the following owner:\n<code>root</code>", "oval_external_content": null, "fixtext": " Change the owner of the file /etc/sysconfig/sshd to root by running the following command:\n$ sudo chown root /etc/sysconfig/sshd", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /etc/sysconfig/sshd file must be owned by root.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": "system_with_kernel", "platforms": ["system_with_kernel"], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": ["system_with_kernel"], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Verify User Who Owns /etc/sysconfig/sshd File", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/permissions/files/file_owner_etc_sysconfig_sshd/rule.yml", "template": {"name": "file_owner", "vars": {"filepath": "/etc/sysconfig/sshd", "uid_or_name": "0"}, "backends": {}}}