httpd and mysql as user (not root)
Jannis Pohlmann
info at sten-net.de
Sat Mar 13 06:02:18 UTC 2004
You're right, running "su" is simple. The main problem was to make httpd and mysql run at startup - an that's what they do now. Thanks.
Jannis
> What do you gain by this? Running "su - <enter root password> is simple
> and quick and all you need to start services. If the user has root
> rights - as having UID/GID 0 - it makes no differences. Even working
> with a user account which has root rights too is dangerous!
>
> To start up services like Apache and MySQL at startup run:
>
> chkconfig --list httpd
> chkconfig --list mysqld
> This tells you at which runlevels these services are already active. To
> activate a service at specific runlevel do i.e.:
>
> chkconfig --level 3 httpd on
>
> Alexander
More information about the users
mailing list