Closed ryanyakich closed 10 years ago
How do you suggest masking it?
Just a simple...
echo "Running: mysqldump -u $USER --password=**** -H $HOST $db | gzip > $backupDir/$backupFile"
(I am using the script in a cron on a dreamhost webserver, and it mails the output to me... I changed mine, so it was "masked" - even if I am the only one seeing it, I don't like seeing my passwords in plain text ;))
Yup, that's bad! Wasn't looking at the script output, but rather the line actually doing the work. I've cleaned this up now too (on master).
As a suggestion, maybe mask the password - there really is no reason to see it.