Bob Mottram 8 anni fa
parent
commit
e9d91cf433
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      src/freedombone-logging

+ 1
- 0
src/freedombone-logging Vedi File

192
     sed -i 's|\*.\*;auth,authpriv.none.*|\*.\*;auth,authpriv.none      /dev/null|g' /etc/rsyslog.conf
192
     sed -i 's|\*.\*;auth,authpriv.none.*|\*.\*;auth,authpriv.none      /dev/null|g' /etc/rsyslog.conf
193
     sed -i 's|#cron.\*|cron.\*|g' /etc/rsyslog.conf
193
     sed -i 's|#cron.\*|cron.\*|g' /etc/rsyslog.conf
194
     sed -i 's|cron.\*.*|cron.\*             /dev/null|g' /etc/rsyslog.conf
194
     sed -i 's|cron.\*.*|cron.\*             /dev/null|g' /etc/rsyslog.conf
195
+    shred -zu /var/log/wtmp*
195
     shred -zu /var/log/debug*
196
     shred -zu /var/log/debug*
196
     shred -zu /var/log/cron.*
197
     shred -zu /var/log/cron.*
197
     shred -zu /var/log/auth.*
198
     shred -zu /var/log/auth.*