Building RPM containing passwords
- by Kuf
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!