{"description": " To properly set the owner of <code>/etc/security/opasswd</code>, run the command:\n<pre>$ sudo chown root /etc/security/opasswd </pre>\n\n\nTo properly set the group owner of <code>/etc/security/opasswd</code>, run the command:\n<pre>$ sudo chgrp root /etc/security/opasswd</pre>\n\n\nTo properly set the permissions of <code>/etc/security/opasswd</code>, run the command: <pre>$ sudo chmod 0600 /etc/security/opasswd</pre>", "rationale": "The <tt>/etc/security/opasswd</tt> file stores old passwords to prevent\npassword reuse. Protection of this file is critical for system security.", "severity": "medium", "references": {"srg": ["SRG-OS-000077-GPOS-00045"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "/etc/security/opasswd does not have an owner of root and /etc/security/opasswd does not have a group owner of\nroot\nand /etc/security/opasswd does not have unix mode 0600", "ocil": "To check the ownership of <code>/etc/security/opasswd</code>,\nrun the command:\n<pre>$ ls -lL /etc/security/opasswd</pre>\nIf properly configured, the output should indicate the following owner:\n<code>root</code>\nTo check the group ownership of <code>/etc/security/opasswd</code>,\nrun the command:\n<pre>$ ls -lL /etc/security/opasswd</pre>\nIf properly configured, the output should indicate the following group-owner:\n\n  <code>root</code>\n  \n\nTo check the permissions of <code>/etc/security/opasswd</code>,\nrun the command:\n<pre>$ ls -l /etc/security/opasswd</pre>\nIf properly configured, the output should indicate the following permissions:\n<code>0600</code>", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": [], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Verify Permissions and Ownership of Old Passwords File", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/permissions/files/permissions_important_account_files/file_etc_security_opasswd/rule.yml", "template": null}