Saturday, April 22, 2006

Telnet service

The default state of the Telnet service in Cacko is diabled. In order to enable the service, you will have to login as root and modify /etc/inetd.conf. This file is read by a program at boot time to determine which services to run.

Here is what has to be done (I have installed nano as my editor):
> sudo nano /etc/inetd.conf

uncomment the following line (use the one with TCP Wrapper)
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd

Save and exit. In order to see the effect immediately, issue the following command:
> killall -HUP inetd


Side Notes:
TCP wrapper make use the rules in /etc/hosts.allow and /etc/hosts.deny for access control with the running Internet services, so it should be more secure if setup porperly.


0 Comments:

Post a Comment

<< Home