Edit and comment out telnet . As an example it will looks like
lpar2#vi /etc/inetd.conf  ⤶ 
 | 
 #telnet  stream  tcp6    nowait  root    /usr/sbin/telnetd      telnetd -a
Now Refresh the inetd daemons
# refresh -s inetd ⤶
You should get an error message like this:
lpar1 #telnet lpar2 
Trying... 
telnet: connect: A remote host refused an attempted connect operation. 
lpar1 # 
 | 
 Done…

No comments:
Post a Comment