{"description": "\nTo properly set the permissions of <code>/usr/bin/lastlog</code>, run the command:\n<pre>$ sudo chmod 0750 /usr/bin/lastlog</pre>", "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 unix mode -rwxr-x---", "ocil": "To check the permissions of <code>/usr/bin/lastlog</code>,\nrun the command:\n<pre>$ ls -l /usr/bin/lastlog</pre>\nIf properly configured, the output should indicate the following permissions:\n<code>-rwxr-x---</code>", "oval_external_content": null, "fixtext": " Change the permissions of the directory \"/usr/bin/lastlog/\" to \"0750\" by running the following command:\n$ sudo chmod 0750 /usr/bin/lastlog/", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /usr/bin/lastlog directory must have mode 0750 or less permissive.", "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 Permissions on lastlog Command", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-session/file_permissions_lastlog/rule.yml", "template": {"name": "file_permissions", "vars": {"filepath": "/usr/bin/lastlog", "filemode": "0750"}, "backends": {}}}