[bacula] Syslogging for placeholder passwords
Simone Caronni
slaanesh at fedoraproject.org
Fri Jan 20 15:45:59 UTC 2012
commit a82230d945f6bd3e0007b0d091edf6784902e178
Author: Simone Caronni <negativo17 at gmail.com>
Date: Fri Jan 20 16:45:45 2012 +0100
Syslogging for placeholder passwords
bacula-checkconf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bacula-checkconf b/bacula-checkconf
index d9a8bb7..da3bb25 100644
--- a/bacula-checkconf
+++ b/bacula-checkconf
@@ -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
More information about the scm-commits
mailing list