telnet 8020/tcp
telnet 8020/udp
注意这 两条entries必须写在23端口前,如果写在23端口后,还是会以23端口为telnet
然后 refresh -s inetd
不要写成以下格式
telnet 23/tcp # Telnet
telnet 23/udp # Telnet
# 24/tcp # any private mail system
# 24/udp # any private mail system
smtp 25/tcp # Simple Mail Transfer
smtp 25/udp # Simple Mail Transfer
# 26/tcp # Unassigned
telnet 8020/tcp
telnet 8020/udp
将8020写在前面
refresh -s inetd 后,
telnet host 8020 可以telnet到机器,而23端口将不再listening・・・