[Gllug] Open Ports

Darran D. Rimron-Molloy ddrm at digital-science.net
Mon Jan 28 15:28:53 UTC 2002


Kim Hawtin said:

> to see what ports are open, then refer to /etc/services to see what
> service the port number refers to, and comment it out in
> /etc/[x]inetd.conf

And the files (often) in /etc/xinetd.d - refered to in /etc/xinetd.conf
as "includedir".
The files in this directory, an example of one below, can be edited to
"disable" services as apposed to deleting them....

----[ start /etc/xinetd.d/telnet ]----
service telnet
{
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/in.telnetd
        log_on_sucsess  += USERID
        log_on_failure  += USERID
        disable         = yes
}
----[ end /etc/xinetd.d/telnet ]----
	-D



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list