Sabel
05-19-2001, 12:07 AM
How do I shut downsome of my services that startup when I boot like
sendmail and http
I'm running redhat 7.1
sendmail and http
I'm running redhat 7.1
|
Click to See Complete Forum and Search --> : Services Sabel 05-19-2001, 12:07 AM How do I shut downsome of my services that startup when I boot like sendmail and http I'm running redhat 7.1 -sureshot- 05-19-2001, 01:39 AM in redhat i believe its in /etc/xinetd or something like that...open the files for what you want to shutdown, and comment out the enabling or startup. someone who uses redhat can explain it better. MudCrawLeR 05-19-2001, 01:49 AM Most Redhat services (maybe all) can be started or stopped but running /usr/sbin/setup go to system services and just check or uncheck the ones you wish to run tolstoy 05-19-2001, 02:19 AM If you are using RH 7.0 or above you can stop services in 2 ways. The first is to go to your /etc/xinted.d/ directory and editing the files there to say disable = yes. by this I mean pop3, imap, etc. Most of them are disabled by default. For things like httpd and sendmail, you need to find your runlevel. Do this by readng your /etc/inittab file. Look for a line that says something alongs the lines of inted:default:2: something or other. This will tell you what your default run level is. Now go to /etc/rc.d/rcX.d, where X = your default run-level. Remove any symbolic links that refers to httpd or sendmail or anything you don't want running (typically they will look like S80Sendmail). These are links to start those deamons. Remove these and these services will not start on reboot. That is all there is to it. Good luck. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |