xinetd
Michael A. Peters
yellowdog-general@lists.terrasoftsolutions.com
Tue Sep 16 11:56:01 2003
/sbin/chkconfig --list
That will list all services, what levels they run in, and what inetd
services are configured to run.
[root@mylfsbox root]# /sbin/chkconfig --list
random 0:off 1:off 2:on 3:on 4:on 5:on 6:off
localstart 0:off 1:off 2:on 3:on 4:on 5:on 6:off
network 0:off 1:off 2:off 3:on 4:on 5:on 6:off
firestarter 0:off 1:off 2:off 3:on 4:on 5:on 6:off
klogd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
syslogd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
portmap 0:off 1:off 2:off 3:off 4:off 5:off 6:off
gpm 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
cupsd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
spamassassin 0:off 1:off 2:off 3:on 4:on 5:on 6:off
sshd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
alsa 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
postfix 0:off 1:off 2:off 3:on 4:on 5:on 6:off
fcron 0:off 1:off 2:on 3:on 4:on 5:on 6:off
kudzu 0:off 1:off 2:off 3:on 4:on 5:on 6:off
xinetd based services:
fam: off
[root@mylfsbox root]#
As you can see - xinetd services are listed at the bottom.
Unfortunately - it seems that chkconfig can not currently turn off/on
xinetd services - but you can at least get a list of all that are
configured to run, which makes it easier to turn them off.
You can use chkconfig to disable sysV style startup scripts.
/sbin/chkconfig --del kudzu
will turn off kudzu (so you don't take so long to boot)
/sbin/chkconfig --add kudzu
will turn it on (if its off)
On Mon, 2003-09-15 at 14:42, Jann Röder wrote:
> Well you need to go to /etc/xinitd.d and look for the files in there.
> There is one file for each service. Then you can change the disbaled =
> no line to yes to disable a service. But if you want to save memory you
> should rather look for the services that are started via initd. You can
> use the graphical redhat-config-services tool or the comandline tool
> ntsysv . In fact the ntsysv tool can also manage xinitd based services.
>