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