{"description": " To properly set the owner of <code>/var/log/*.journal(~)</code>, run the command:\n<pre>$ sudo chown root /var/log/*.journal(~) </pre>\n", "rationale": "The <tt>/var/log/*.journal(~)</tt> files are system logs managed by the \"systemd\" service.", "severity": "medium", "references": {"cis": ["6.2.2.1"]}, "control_references": {"cis": ["6.2.2.1"]}, "components": [], "identifiers": {}, "ocil_clause": "/var/log/*.journal(~) does not have an owner of root", "ocil": "To check the ownership of <code>/var/log/*.journal(~)</code>,\nrun the command:\n<pre>$ ls -lL /var/log/*.journal(~)</pre>\nIf properly configured, the output should indicate the following owner:\n<code>root</code>", "oval_external_content": null, "fixtext": "\nTo properly set the owner of <code>/var/log/*.journal(~)</code>, run the command:\n\n  <pre>$ sudo chown root /var/log/*.journal(~) </pre>\n  ", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /var/log/*.journal(~) file 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 User Who Owns /var/log/*.journal(~) Files", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/permissions/files/permissions_var_log_dir/file_owner_var_log_journal/rule.yml", "template": {"name": "file_owner", "vars": {"filepath": "/var/log/", "file_regex": ".*\\.journal(~)?$", "uid_or_name": "0", "recursive": "true"}, "backends": {}}}