Remove wtmp
This commit is contained in:
parent
3e9a0200a4
commit
e9d91cf433
|
@ -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.*
|
||||
|
|
Loading…
Reference in New Issue