Remove wtmp

This commit is contained in:
Bob Mottram 2016-11-18 17:36:19 +00:00
parent 3e9a0200a4
commit e9d91cf433
1 changed files with 1 additions and 0 deletions

View File

@ -192,6 +192,7 @@ else
sed -i 's|\*.\*;auth,authpriv.none.*|\*.\*;auth,authpriv.none /dev/null|g' /etc/rsyslog.conf
sed -i 's|#cron.\*|cron.\*|g' /etc/rsyslog.conf
sed -i 's|cron.\*.*|cron.\* /dev/null|g' /etc/rsyslog.conf
shred -zu /var/log/wtmp*
shred -zu /var/log/debug*
shred -zu /var/log/cron.*
shred -zu /var/log/auth.*