Skip to content

Commit

Permalink
Align with original STIG fix text
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmcanonical committed Jul 24, 2024
1 parent d7c3fdd commit 9cf5e3b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ severity: medium

fixtext: |
Configure the system to set the appropriate ownership to the directories
used by the systemd journal. Add or modify the following lines in the
"/usr/lib/tmpfiles.d/00-systemd.conf" file:
used by the systemd journal. Add or modify the following lines in the
"/usr/lib/tmpfiles.d/systemd.conf" or "/etc/lib/tmpfiles.d/00-systemd.conf" file:
<pre>
z /run/log/journal 2640 root systemd-journal - -
z /var/log/journal 2640 root systemd-journal - -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ severity: medium

fixtext: |
Configure the system to set the appropriate ownership to the directories
used by the systemd journal. Add or modify the following lines in the
"/usr/lib/tmpfiles.d/00-systemd.conf" file:
used by the systemd journal. Add or modify the following lines in the
"/usr/lib/tmpfiles.d/systemd.conf" or "/etc/lib/tmpfiles.d/00-systemd.conf" file:
<pre>
z /run/log/journal 2640 root systemd-journal - -
z /var/log/journal 2640 root systemd-journal - -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ severity: medium
fixtext: |
Configure the system to set the appropriate permissions to the files and directories
used by the systemd journal:
Add or modify the following lines in the "/etc/tmpfiles.d/00-systemd.conf" file:
Add or modify the following lines in the "/usr/lib/tmpfiles.d/systemd.conf"
or "/etc/lib/tmpfiles.d/00-systemd.conf" file:
<pre>
z /run/log/journal 2750 root systemd-journal - -
Z /run/log/journal/%m ~2750 root systemd-journal - -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ fixtext: |
{{%- if 'ubuntu' in product %}}
Configure the system to set the appropriate group-ownership to the files
used by the systemd journal:
Add or modify the following lines in the "/etc/tmpfiles.d/00-systemd.conf" file:
Add or modify the following lines in the "/usr/lib/tmpfiles.d/systemd.conf"
or "/etc/lib/tmpfiles.d/00-systemd.conf" file:
<pre>
z /var/log/journal/%m/system.journal 0640 root systemd-journal - -
</pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ fixtext: |
{{%- if 'ubuntu' in product %}}
Configure the system to set the appropriate ownership to the files
used by the systemd journal:
Add or modify the following lines in the "/etc/tmpfiles.d/00-systemd.conf" file:
Add or modify the following lines in the "/usr/lib/tmpfiles.d/systemd.conf"
or "/etc/lib/tmpfiles.d/00-systemd.conf" file:
<pre>
z /var/log/journal/%m/system.journal 0640 root systemd-journal - -
</pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ fixtext: |
{{%- if 'ubuntu' in product %}}
Configure the system to set the appropriate permissions to the files and directories
used by the systemd journal:
Add or modify the following lines in the "/etc/tmpfiles.d/00-systemd.conf" file:
Add or modify the following lines in the "/usr/lib/tmpfiles.d/systemd.conf"
or "/etc/lib/tmpfiles.d/00-systemd.conf" file:
<pre>
z /var/log/journal/%m/system.journal 0640 root systemd-journal - -
</pre>
Expand Down

0 comments on commit 9cf5e3b

Please sign in to comment.