:
: # whoami
: root
: # cd ~
: # cat .rhosts
: localhost root
: # rsh localhost ls
: Permission denied.
: ???
:
: 일반유저 일때도 같습니다.
: Permission denied 가 왜
: 나는 거죠?
: 물론 /etc/inetd.conf에서
: in.rshd, in.rlogind 를 열어 주었습니다.
.rhosts 의 모드를 600으로 바꾸어 주니 되는 군요.
# chmod 600 .rhosts
# rsh localhost ls
Mail
temp
...
경험적으로 발견한 바에 의하면 group이나 other에 write 권한이
설정되어 있을 때는 rsh가 동작하지 않았습니다.