SV-258832r933557_rule
V-258832
SRG-OS-000206-GPOS-00084
PHTN-40-000074
CAT II
10
Navigate to and open:
/etc/rsyslog.conf
Add or update the following line:
$umask 0037
At the command line, run the following command:
# systemctl restart rsyslog.service
If another package is used to offload logs, such as syslog-ng, and is properly configured, this is not applicable.
At the command line, run the following command to verify rsyslog generates log files that are not world readable:
# grep '^\$umask' /etc/rsyslog.conf
Example result:
$umask 0037
If "$umask" is not set to "0037" or more restrictive, this is a finding.
V-258832
False
PHTN-40-000074
If another package is used to offload logs, such as syslog-ng, and is properly configured, this is not applicable.
At the command line, run the following command to verify rsyslog generates log files that are not world readable:
# grep '^\$umask' /etc/rsyslog.conf
Example result:
$umask 0037
If "$umask" is not set to "0037" or more restrictive, this is a finding.
M
5569