Click to See Complete Forum and Search --> : Disabling services


variable
08-06-2001, 09:18 PM
How do you disable services from starting up automatically in Mandrake 8.0? In Redhat I used to just comment them out in the inetd file. In Mandrake it appears that it is a directory.

ColFlag
08-06-2001, 10:12 PM
What about changing the first letter (from 'S'--for start to 'k' for 'kill) in /etc/rc.d/rc1.d ./rc2.d ./rc3.d ... for the services you do not want to start.

Malakin
08-06-2001, 10:44 PM
On the desktop there's "mandrake control center" run that and "sytem"->"services" takes you to the list and shows you what's running, lets you start/stop them or have them run at startup. This is the way Mandrake wants you to do this :)

If you would like to do it from the command line all the gui script is doing if you enable a service at startup is adding or removing the link to the service startup script. So for example if you tell the gui to add httpd at startup it's adding /etc/rc.d/rc3.d/S85httpd which is a link to /etc/rc.d/init.d/httpd

evulish
08-07-2001, 01:15 AM
Originally posted by ColFlag:
<STRONG>What about changing the first letter (from 'S'--for start to 'k' for 'kill) in /etc/rc.d/rc1.d ./rc2.d ./rc3.d ... for the services you do not want to start.</STRONG>

Just to add on to that, I usually just delete the whole S##- thingy and just leave it as a normal script so I can re-enable it if I'd like (and know what it is).

bdg1983
08-07-2001, 06:29 AM
The Control Center would be the way to go.

System - Startup - Services and click on show system services if necessary.