UCF STIG Viewer Logo

The /etc/syslog.conf file must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-4393 GEN005400 SV-63473r2_rule Medium
Description
If the /etc/syslog.conf file is not owned by root, unauthorized users could be allowed to view, edit, or delete important system messages handled by the syslog facility.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2020-02-25

Details

Check Text ( C-52175r3_chk )
Check /etc/syslog.conf or /etc/rsyslog.conf ownership:

For syslog:

# ls -lL /etc/syslog.conf

For rsyslog:

# ls -lL /etc/rsyslog.conf

If /etc/syslog.conf or /etc/rsyslog.conf is not owned by root, this is a finding.
Fix Text (F-54079r3_fix)
Use the chown command to set the owner to root.

# chown root /etc/syslog.conf

Or:

# chown root /etc/rsyslog.conf