{"description": "\nTo properly set the group owner of <code>/etc/shells</code>, run the command:\n\n  <pre>$ sudo chgrp root /etc/shells</pre>\n  ", "rationale": "The <tt>/etc/shells</tt> file contains the list of full pathnames to shells on the system.\nSince this file is used by many system programs this file should be protected.", "severity": "medium", "references": {"nist": ["AC-3", "MP-2"], "anssi": ["R50"], "cis": ["7.1.9"]}, "control_references": {"anssi": ["R50"], "cis": ["7.1.9"]}, "components": [], "identifiers": {}, "ocil_clause": "/etc/shells does not have a group owner of\nroot\n", "ocil": "To check the group ownership of <code>/etc/shells</code>,\nrun the command:\n<pre>$ ls -lL /etc/shells</pre>\nIf properly configured, the output should indicate the following group-owner:\n\n  <code>root</code>\n  ", "oval_external_content": null, "fixtext": " Change the group of the file /etc/shells to root by running the following command:\n$ sudo chgrp root /etc/shells", "checktext": "", "vuldiscussion": "", "srg_requirement": "The Ubuntu 22.04 /etc/shells file must have a group-owner of root to prevent unauthorized access.", "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 Group Who Owns /etc/shells File", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/permissions/files/permissions_important_account_files/file_groupowner_etc_shells/rule.yml", "template": {"name": "file_groupowner", "vars": {"filepath": "/etc/shells", "gid_or_name": "0"}, "backends": {}}}