restrict_syslog not reverting

Post Reply
Progressed
Junior Member
Posts: 6
Joined: 20 Apr 2020, 22:34

restrict_syslog not reverting

Post by Progressed »

Hi,

I set the setting to 3 but found out some logs were not writing any more so wnted to do more research on which user needs the rights to write to LOG_AUTH (for example). So based on the docs reverting should be easy:

Code: Select all

If you want to revert RESTRICT_SYSLOG to another option and disable this
feature, change the setting of RESTRICT_SYSLOG and then restart lfd and then
syslog/rsyslog and the unix sockets will be reset
Unfortunatly settings werent reverted and setting it to 0 or 2 logwriting to certain files only honours the users within /etc/csf/csf.syslogusers.

Im hoping somebody else also has this problem and perhaps resolved it?!

Im running ubuntu 18.04 and CSF 14.02 BTW
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: restrict_syslog not reverting

Post by ForumAdmin »

You may have to reset the permissions on /dev/log, usually you can do:

Code: Select all

chmod 666 /dev/log
chown root:root /dev/log
this should result in:

Code: Select all

# ls -la /dev/log
srw-rw-rw- 1 root root 0 May  8 11:22 /dev/log
Progressed
Junior Member
Posts: 6
Joined: 20 Apr 2020, 22:34

Re: restrict_syslog not reverting

Post by Progressed »

Even though nothing has changed it did the trick! awesome!

I do advice it to put it somewhere in troubleshooting area or some sort.
Post Reply