disabling services

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeffrey Pyne
Date:  
Subject: disabling services
To stop inetd from listening on a particular port, the file you are after is
/etc/inetd.conf. Go through and comment out each service you don't use, and
then kill -HUP <PID of inetd>. Use netstat -a to verify that your box is no
longer listening on that port. FWIW, every line is commented out of my
/etc/inetd.conf, so I don't even run inetd.

Also, since D. Taylor seems to be MIA, I'll go ahead and give his response:

man inetd
man services

:-)

--Jeff


> -----Original Message-----
> From:    Don Harrop [SMTP:]
> Sent:    Wednesday, July 05, 2000 12:10 PM
> To:    
> Subject:    disabling services

>
> In order to disable some services (like telnet) after I've got SSH up and
> working I have been commenting out the telnet lines in /etc/services.
> When
> I do it this way though it keeps me from even using the telnet service
> myself (to telnet out). What's the best way to disable services that run
> in
> the inet super server?
>
> Don
>
>
> _______________________________________________
> Plug-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss