Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to setup AutoMySQLBackup on Ubuntu 12.04.3 LTS in security conscious manner.

I've setup a mysql user with minimum privileges for backups.

But when installing AutoMySQLBackup from apt-get I've noticed that by default there is:

USERNAME=grep user /etc/mysql/debian.cnf | tail -n 1 | cut -d"=" -f2 | awk '{print $1}'

Which is grabbing the default user: "debian-sys-maint"

If I chose to user my new user, then it would mean storing the username and password unencrypted in the AutoMySQLBackup file which also seems accessible without doing sudo.

And the debian.cnf says:

Automatically generated for Debian scripts. DO NOT TOUCH!

What is the best option to securely configuring AutoMySQLBackup?

I wasn't sure if to ask this on stackexchange sister sites (IT Security, DBA), but I think I'm after specific security advice on ubuntu.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.