Syslogging for placeholder passwords
This commit is contained in:
parent
a942783541
commit
a82230d945
@ -9,7 +9,7 @@ if [ $# -ne 1 ]; then
|
||||
fi
|
||||
grep -q '^[^#].*_PASSWORD@@' $1
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Error: Default password in config"
|
||||
logger -st bacula-dir "Error: placeholder password in config file $1"
|
||||
exit 6
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user