- Re: Basic xinetd Question

PDA

View Full Version : Re: Basic xinetd Question


Kenneth A Kauffman
07-24-2004, 06:02 PM
"Buck Turgidson" <jc_va@hotmail.com> wrote in message
news:0e1a59a01a1e5c8f53983defcff81086@free.teranews.com...
> I have been reading up on xinetd, since I upgraded my linux, and have
> graduated from inetd. I am confused as to the purpose of the disable
> parameter. It doesn't seem to be disabling anything. I have xinetd
> running, yet I can, as pretty much any user run netstat.
>
> I would appreciate some enlightenment.
>
>
> service netstat
> {
> disable = yes
> socket_type = stream
> protocol = tcp
> wait = no
> user = root
> server = /bin/netstat
> server_args = -a
>
>
>

netstat is a binary utility basically. not a daemon. you can not disable
this way. I would suggest you create a directory that can only be accessed
by root and move the binary file there out of the path.

ken k