Re: httpd and mysql as user (not root)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux