telnet 설치 하기
Redhat linux R5 의 경우 disk 5장 중 3번째 disk에 /server/ 디렉토리안에 설치파일rpm이 들어있으니
요놈을 설치해주면 됩니다^^
#rpm -qa | grep telnet 설치 확인후 install -y telnet-server
설치완료후
#vi /etc/xinetd.d/telnet
---------------------------------------------------------
service telnet
{
disable = no <======= no 로 바꿔야 텔넷서버 사용가능
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
---------------------------------------------------------
혹시나 tcp 23번이 막혀있으면 열어준다.
그리고 텔넷 서비스 시작
#service xinetd restart 또는 #/etc/init.d/xinetd restart
텔넷서비스는 기본값으로 root 의 접속이 제한되어있다.
이걸풀려면 #mv /etc/securetty /etc/securetty.back securetty파일의 파일명을 바꿔주면된다.
===============================================================================
그래도 telnet 으로 root계정 로그인이 안된다면
/etc/securetty 파일에 아래 파란글자 부분을 추가해준다.
[root@slrac1 etc]# cat securetty
console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9
[root@slrac1 etc]#