{"description": "\nTo properly set the owner of <code>/usr/bin/lastlog</code>, run the command:\n\n  <pre>$ sudo chown root /usr/bin/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": "/usr/bin/lastlog does not have an owner of root", "ocil": "To check the ownership of <code>/usr/bin/lastlog</code>,\nrun the command:\n<pre>$ ls -lL /usr/bin/lastlog</pre>\nIf properly configured, the output should indicate the following owner:\n<code>root</code>", "oval_external_content": null, "fixtext": " Change the owner of the directory /var/log/lastlog to root by running the following command:\n$ sudo chown root /var/log/lastlog", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /usr/bin/lastlog directory must be 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 Owner on lastlog Command", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-session/file_ownership_lastlog/rule.yml", "template": {"name": "file_owner", "vars": {"filepath": "/usr/bin/lastlog", "uid_or_name": "0"}, "backends": {}}}