LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   stopping services? (https://www.linuxquestions.org/questions/linux-software-2/stopping-services-47331/)

piglingz 02-26-2003 09:43 PM

stopping services?
 
Hi,

By slackware 8.1 installation default, some unneccesary services (to me) are started at boot time (i.e SunRPC, SMTP, Finger, identd, and printer) How can I stop these services while the OS is up, and how can I disable them? Thanks a bunch!

Crashed_Again 02-26-2003 09:53 PM

chkconfig --list

This will give you a list of all the services and what levels they are running on. Say you want to shut of the finger service for run levels 3,4, and 5. You would do this:

chkconfig --levels 345 finger off

kgsum 02-26-2003 09:54 PM

Look in /etc/inetd.conf and /etc/rc.d/rc.M. Comment out the services you dont want with #.

len 06-24-2003 04:26 PM

i have a question about stopping services. i'm using mandrake 9.0, and am using it to work on distributed computing projects. is there a minimal list of services needed to run mandrake 9.0 (i586), and still have a GUI? i just shut off cups, as i won't be doing any printing from it. i'd like to have as little as possible running. would a services analyzer running for a week show what is not used, and then it would be safe to stop those from running?


All times are GMT -5. The time now is 06:42 PM.