Building RPM containing passwords

Posted by Kuf on Server Fault See other posts from Server Fault or by Kuf
Published on 2012-08-08T10:01:21Z Indexed on 2012/11/11 5:04 UTC
Read the original article Hit count: 497

Filed under:
|
|

I need to be able to send an RPM to customers that will install the complete server, including Apache and MySQL. The customers will install it on a clean machine.

After installation, the server should connect to our main DB, so I though of including the password in the RPM somehow, encrypted if possible.

The reason I'm asking this is because I'm pretty sure that it's not wise to save the password in the rpm scripts. I was hoping that someone else had a similar problem and managed to solve that somehow.

If anyone knows a way to do that, or have a better idea please share!

© Server Fault or respective owner

Related posts about password

Related posts about rpm