[GRLUG] cron job an password
Eric Beversluis
ebever at researchintegration.org
Tue Jun 11 09:59:49 EDT 2013
Would it do to put the mysqldump in a script that only root can read and
then set the cron job to run the script? Would it be better--and more
secure--to have the script owned and executable only by mundaneUser and
then set the cron job to be run by mundaneUser?
On Tue, 2013-06-11 at 09:44 -0400, Eric Beversluis wrote:
> How can I set a cron job to do mysqldump without hardcoding the mysql
> root password into the cron command? (It looks like anyone can read the
> various cron files.)
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
More information about the grlug
mailing list