1. 우선 rsh rpm이 설치되어 있어야 한다
ex)
rpm -qa|grep rsh
rsh-0.17-38.el5
만약 없다면 해당 OS에 맞는 버전 설치
2. rsh , rlogin 서비스 ON 시키기
런레벨 등록
chkconfig rsh --level 345 on
chkconfig rlogin --level 345 on
service xinetd restart ## xinetd daemon restart
3. krb 인증과 관련하여 krb5-workstation 패키지를 삭제 합니다.
ex)
rpm -e krb5-workstation-xxxx
4. rsh,rlogin 을 사용하기 위해서
vi /etc/securetty 의 마지막줄에
rsh, rlogin 을 추가 후
ex)
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
rsh
rlogin
5. /etc/hosts 등록 ( 관리하는 서버들의 호스트를 등록해주면 편합니다. )
ex)
192.168.0.1 node01
192.168.0.2 node02
192.168.0.3 node03
.
.
.
192.168.0.x node0x
6. /etc/hosts.equiv 파일 작성후
rsh, rlogin 을 사용할 노드들을 등록
ex)
node01
node02
node03
.
.
.
node0x
7. 마지막으로 root 폴더에 .rhosts 작성후 /etc/hosts.equiv 와 같은 내용 등록
ex)
node01
node02
node03
.
.
.
node0x
8. 모든 서버에 똑같이 적용 시킨다.
9. test)
rsh node01
rsh node02
접속이 된다면 완료.
Posted by 삐꾸강아쥐쥐








