{"description": " To properly set the owner of <code>/etc/gshadow-</code>, run the command:\n<pre>$ sudo chown root /etc/gshadow- </pre>\n", "rationale": "The <tt>/etc/gshadow-</tt> file is a backup of <tt>/etc/gshadow</tt>, and as such,\nit contains group password hashes. Protection of this file is critical for system security.", "severity": "medium", "references": {"nist": ["AC-6 (1)"], "pcidss": ["Req-8.7"], "srg": ["SRG-OS-000480-GPOS-00227"], "cis": ["7.1.8"]}, "control_references": {"cis": ["7.1.8"]}, "components": [], "identifiers": {}, "ocil_clause": "/etc/gshadow- does not have an owner of root", "ocil": "To check the ownership of <code>/etc/gshadow-</code>,\nrun the command:\n<pre>$ ls -lL /etc/gshadow-</pre>\nIf properly configured, the output should indicate the following owner:\n<code>root</code>", "oval_external_content": null, "fixtext": " Change the group of the file /etc/gshadow- to root by running the following command:\n$ sudo chgrp root /etc/gshadow-", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /etc/gshadow- file must be group-owned by root.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 /etc/gshadow- file must be owned by root.", "vuldiscussion": "The \"/etc/gshadow-\" file is a backup of \"/etc/gshadow\", and as such, contains group password hashes. Protection of this file is critical for system security.", "checktext": "Verify the ownership of the \"/etc/gshadow-\" file with the following command:\n\n$ sudo stat -c \"%U %n\" /etc/gshadow-\n\nroot /etc/gshadow-\n\nIf \"/etc/gshadow-\" file does not have an owner of \"root\", this is a finding.", "fixtext": "Change the owner of the file /etc/gshadow- to root by running the following command:\n\n$ sudo chown root /etc/gshadow-"}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": [], "cpe_platform_names": [], "inherited_cpe_platform_names": [], "bash_conditional": null, "fixes": {}, "title": "Verify User Who Owns Backup gshadow File", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/permissions/files/permissions_important_account_files/file_owner_backup_etc_gshadow/rule.yml", "template": {"name": "file_owner", "vars": {"filepath": "/etc/gshadow-", "uid_or_name": "0"}, "backends": {}}}