storing root password rpm spec file

Manuel Arostegui manuel at todo-linux.com
Thu Dec 21 08:20:19 UTC 2006


On Thu, December 21, 2006 02:40, Tony Nelson wrote:
> When a RPM package is being installed, rpm is run by root.  Any scripts it
> runs as part of the package, such as a post-install script, run as user root.  Root can su to any
> other user.  Just use the su command in the script.  No password is needed. --

That´s not the problem. The problem resides in the mysql passsword which is needed to run the sql
file which contains some instructions like, create databases, tables...
Manuel




More information about the fedora-list mailing list