> /sbin/ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:00:E2:43:80:84 inet addr:192.168.1.xxx Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2003096 errors:0 dropped:0 overruns:0 frame:0 TX packets:25234 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1388091497 (1323.7 Mb) TX bytes:15543414 (14.8 Mb) Interrupt:10 Base address:0xb0002. telnet接続の許可
> cat /etc/xinetd.d/telnet # default: on # description: The telnet server serves telnet sessions; it uses \ # unencrypted username/password pairs for authentication. service telnet { disable = no flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/in.telnetd log_on_failure += USERID }デフォルトでは「disable = yes」となっているので、この個所を「disable = no」と変更します。
> cat /etc/hosts.allow # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # ALL:ALLこれで手元のPCよりtelnet接続が出切るようになるはずです。