Passwordless root access
Posted by: Matthew Exon
Date: February 07, 2013 09:59PM

Hi,

I want to make a backup cron job run by the root user. At the moment it looks like I'm going to have to hard-code the root user's database password in plaintext in the cron job, which feels like a security sin.

How else can I identify the root user to MySQL when run off the command line? I know how to allow a user to connect from localhost without a password, but I don't know how to allow only a particular unix user to connect as a corresponding MySQL user.

Options: ReplyQuote


Subject
Written By
Posted
Passwordless root access
February 07, 2013 09:59PM
February 08, 2013 08:11PM
February 08, 2013 09:28PM
February 09, 2013 05:35PM
February 09, 2013 05:57PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.