[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Mysql



On Thu, Mar 08, 2001 at 11:17:28PM +0530, Raju Mathur merrily said:
> Create a PGP keypair for each user.  Now encrypt the MySQL password
> using all the public keys of all the users.  Let each secret key have
> the users password as pass phrase.  When a user logs in, use the
> password s/he's supplied to unlock the corresponding secret key, and
> use that to decrypt the MySQL password.  Voila!  no passwords embedded

Just one Q. How can you specify the password for the private key from
the commandline? Isn't this the only way we can automate it from a
CGI? 

- Sandip

-- 
-------------------------------------
Sandip Bhattacharya 
sandipb @ bigfoot.com
http://www.sandipb.net
-------------------------------------