View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-28-2003, 02:01 PM   #1
Registered: Oct 2001
Location: Boise, ID, USA
Distribution: Fedora Core 4
Posts: 67

Rep: Reputation: 15
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!
Old 08-28-2003, 02:56 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
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
Old 08-28-2003, 05:12 PM   #3
Registered: Oct 2001
Location: Boise, ID, USA
Distribution: Fedora Core 4
Posts: 67

Original Poster
Rep: Reputation: 15
Thanks david_ross! That was what I was looking for. Now I have to learn about different runlevels, though...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wanna management switch and router via com console, what is the recommand software? pangtom Linux - Software 0 10-25-2005 09:26 AM
How do I edit services from the console? brandor Fedora 3 05-25-2004 03:17 PM
Fail shut down console mouse services? SuperCoolAl Fedora 3 03-14-2004 08:26 PM
Nvidia Drivers kill Console Mouse Services? Zaskar Fedora 0 02-24-2004 08:36 AM
Console mouse services just hangs up or dies!!! FuGeE Linux - Hardware 0 12-08-2002 03:43 AM

All times are GMT -5. The time now is 07:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration