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

Re: Mysql



Hmm, interesting question.  Let me think about it :-)

>>>>> "Sandip" == Sandip Bhattacharya <sandipb@xxxxxxxxxxx> writes:

    Sandip> On Thu, Mar 08, 2001 at 11:17:28PM +0530, Raju Mathur
    Sandip> 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

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

-- 
Raju Mathur          raju@xxxxxxxxxxxxx           http://kandalaya.org/