Mercurial > repos > other > Puppet
view common/0logwatch @ 216:436be6e59198 puppet-3.6
Blacklist more username probes, including:
* numbers
* abc123
* botmaster
* root with numbers
* wp-user (who even runs Wordpress under its own user?)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 03 Aug 2019 09:54:10 +0100 |
parents | 956e484adc12 |
children |
line wrap: on
line source
#!/bin/bash DailyReport=`grep -e "^[[:space:]]*DailyReport[[:space:]]*=[[:space:]]*" /usr/share/logwatch/default.conf/logwatch.conf | head -n1 | sed -e "s|^\s*DailyReport\s*=\s*||"` if [ "$DailyReport" != "No" ] && [ "$DailyReport" != "no" ] then logwatch fi