Re: disable a service question
Ajai Khattri <[email protected]> Sun, 13 Apr 2003 00:37:55 -0400
| Newsgroups | gmane.linux.redhat.release.guinness |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Apr 12, 2003 at 07:19:54PM -0700, Rick Y wrote: > how to disable a service using a command in RH7.0?. > nt??? /sbin/chkconfig --del service where "service" is an init script in /etc/init.d/ man chkconfig You can also do it manually by removing the 'S' and 'K' symbolic links in /etc/rcn.d where "n" is the current runlevel (as reported by the "runlevel" command). If there is no init script, and the service runs from xinetd, then you will need to look in /etc/xinetd.d for the conf file for the service and edit it to say "disable = yes" to swithch it off (don't forget to send a HUP signal to xinetd). -- .jA repoleveD \ .nimdA smetsyS