Hi all,
The issue is that i`ve tried to secure system logs in a way that no one could delete them(i don`t need them rotated either)
What i did:
Channel important logs to custom directory:
--- syslog.conf
Append
And rise the kern security to 1
The problem is that now the syslog dosen`t want to write to this log(which is unusual since he is running as root?)
Thanks a lot for your effort
The issue is that i`ve tried to secure system logs in a way that no one could delete them(i don`t need them rotated either)
What i did:
Channel important logs to custom directory:
--- syslog.conf
Code:
*.crit /var/log/critical/critical.log
*.emerg /var/log/critical/critical.log
*.err /var/log/critical/critical.log
*.warning /var/log/critical/critical.log
security.* /var/log/critical/security.log
Append
Code:
chmod o= /var/log/critical
chflags sappnd /var/log/critical
chflags sappnd /var/log/critical/*
And rise the kern security to 1
Code:
kern.securelevel: 1
The problem is that now the syslog dosen`t want to write to this log(which is unusual since he is running as root?)
Thanks a lot for your effort
