Skip to content
Snippets Groups Projects
Commit e9d91cf4 authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove wtmp

parent 3e9a0200
No related branches found
No related tags found
No related merge requests found
......@@ -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.*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment