{"description": " To properly set the group owner of <code>/var/log/*.journal(~)</code>, run the command:\n<pre>$ sudo chgrp systemd-journal /var/log/*.journal(~)</pre> or\n<pre>$ sudo chgrp 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 a group owner of\nsystemd-journal or\nroot\n", "ocil": "To check the group 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 group-owner:\n\n  <code>systemd-journal</code>\n   or \n\n  <code>root</code>\n  ", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "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 /var/log/*.journal(~) File", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/permissions/files/permissions_var_log_dir/file_groupowner_var_log_journal/rule.yml", "template": {"name": "file_groupowner", "vars": {"filepath": "/var/log/", "file_regex": ".*\\.journal[~]?", "recursive": "true", "gid_or_name": "systemd-journal|root"}, "backends": {}}}