LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Services management in console (https://www.linuxquestions.org/questions/linux-networking-3/services-management-in-console-86693/)

filsed 08-28-2003 02:01 PM

Services management in console
 
Hello, I have a question how to manage service deamons in console. I know how to turn on, off or restart each service like httpd or sshd but is there another way how to do it permanently in console? It is pretty easy to do it in GUI but I would like to learn how to do it in console, please. I am using Linux Mandrake 8.1. Thanks!

david_ross 08-28-2003 02:56 PM

Take a look at "chkconfig":

To turn the sshd service on in runlevels 345:
chkconfig --level 345 sshd on

To turn the httpd service off in runlevel 5:
chkconfig --level 5 httpd off

filsed 08-28-2003 05:12 PM

Thanks david_ross! That was what I was looking for. Now I have to learn about different runlevels, though...


All times are GMT -5. The time now is 12:14 AM.