텔넷은 보안상의 이유로 모든 접근을 거부하게 처음 설치시 서버의 세팅이 되어 있습니다.
사용코자 한다면 다음 파일을 수정하셔야 합니다.
/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 = no 를 disable = yes 로 변경해 주어야 외부에서 접속이 됩니다.
위와 같이 수정을 하였다면
# /etc/intitd.d/xinetd restart
로 xinetd 데몬을 재시작해 줍니다.
그리고 텔넷은 보안상의 이유로 root의 접근을 거부합니다.
방법이 없는 것은 아니지만(/etc/securetty를 지워주면 root로 로그인 할 수 있습니다.)
root로 작업을 해야 한다면 일반유저로 접근하여 su 명령을 통해서 root로 작업하시거나 SSH(Secure Shell)을 이용할 것을 권장합니다.