{"description": "Ensure that the group <tt><sub idref=\"var_pam_wheel_group_for_su\" /></tt> referenced by\n<tt>var_pam_wheel_group_for_su</tt> variable and used as value for the <tt>pam_wheel.so</tt>\n<tt>group</tt> option exists and has no members. This empty group used by\n<tt>pam_wheel.so</tt> in <tt>/etc/pam.d/su</tt> ensures that no user can run commands with\naltered privileges through the <tt>su</tt> command.", "rationale": "The <tt>su</tt> program allows to run commands with a substitute user and group ID.\nIt is commonly used to run commands as the root user.\nLimiting access to such command is considered a good security practice.", "severity": "medium", "references": {"cis": ["5.2.7"], "pcidss4": ["2.2.6", "2.2"]}, "control_references": {"cis": ["5.2.7"], "pcidss4": ["2.2.6", "2.2"]}, "components": [], "identifiers": {}, "ocil_clause": "group  exists and has no user members", "ocil": "Run the following command to check if the  group exists:\n<pre>grep  /etc/group</pre>\nThe output should contain the following line:\n<pre>:x:</pre>", "oval_external_content": null, "fixtext": "Run the following command to ensure the  group exists:\n<pre>groupadd </pre>\n\nRun the following command to ensure the  group has no members:\n<pre>groupmems -g  -p</pre>", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [{"general": "Note that this rule just ensures the group exists and has no members. This rule does not\nconfigure <tt>pam_wheel.so</tt> module. The <tt>pam_wheel.so</tt> module configuration is\naccomplished by <tt>use_pam_wheel_group_for_su</tt> rule."}], "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": "Ensure the Group Used by pam_wheel.so Module Exists on System and is Empty", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-restrictions/root_logins/ensure_pam_wheel_group_empty/rule.yml", "template": null}