{"description": "\nTo properly set the group owner of <code>/var/log/lastlog</code>, run the command:\n\n  <pre>$ sudo chgrp root /var/log/lastlog</pre>\n  ", "rationale": "Unauthorized disclosure of the contents of the /var/log/lastlog file can reveal system data to\nattackers, thus compromising its confidentiality.", "severity": "medium", "references": {"nist": ["SI-11(b)", "SI-11(c)", "SI-11.1(iv)"], "srg": ["SRG-OS-000206-GPOS-00084"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "/var/log/lastlog does not have a group owner of\nroot\n", "ocil": "To check the group ownership of <code>/var/log/lastlog</code>,\nrun the command:\n<pre>$ ls -lL /var/log/lastlog</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 directory /var/log/lastlog to root by running the following command:\n$ sudo chgrp root /var/log/lastlog", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /var/log/lastlog directory must be group-owned by root.", "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 lastlog Command", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-session/file_groupownership_lastlog/rule.yml", "template": {"name": "file_groupowner", "vars": {"filepath": "/usr/bin/lastlog", "gid_or_name": "0"}, "backends": {}}}