[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] How to turn off Finger and Who Services on Qube2



Rod Todd said:

> We are trying to disable the Finger and Who services
> on our Qube2 as instructed to no avail.  We did
> chkconfig --list and finger or who did not show up
> listed.

That's because they are services which run from inetd, not in separate
runlevels.

> We then tried to manually stop them with :
> /etc/rc.d/init.d/finger stop, and that gave us an
> error & did not work.  We looked in the /etc/services
> file and finger and who were already commented out,
> though they are indeed running since we can finger
> right now.

/etc/services simply gives the system somewhere to tie service ports to
services, so if you refer to (www or smtp or pop3 or finger) or whatever
somewhere else, that's where it does the lookup.
The file you need to edit is /etc/inetd.conf

Comment out the lines which look like:

finger stream  tcp     nowait  root    /usr/sbin/tcpd  in.fingerd
cfinger stream tcp     nowait  root    /usr/sbin/tcpd  in.cfingerd

[cfinger may not be there, I'm looking on a RedHat box here]

and then do:

/etc/rc.d/init.d/inetd stop
/etc/rc.d/init.d/inetd start

which should sort you out. Note that the 'who' command is a local shell
command and as such is not a remote service. You may have to look for
'rwhod' instead in either inetd.conf or your /etc/rc.d/init.c/<blah>
files.

FYI if you find a service starting from your rcd/init.d files which you
don't want, use chkconfig --del <servicename> to stop it running at boot
time and /etc/rc.d/init.d/<servicename> stop to switch it off.

HTH

Graeme
--
System Administrator
WebFusion Internet Solutions