Gentoo Archives: gentoo-user

From: Chuanwen Wu <wcw8410@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] Re: rsh failed : Connection reset by peer
Date: Tue, 06 Jan 2009 15:39:42
Message-Id: 7797aa370901060739se3ba6adx4857bcce9a3abc38@mail.gmail.com
In Reply to: [gentoo-user] Re: rsh failed : Connection reset by peer by Chuanwen Wu
1 I guessed it is the pam problem, and I re-installed netkit-rsh with
2 USE=-pam, now I can use rsh with common users, but root still not
3 work:
4
5 # rsh -l wcw master date
6 Tue Jan 6 23:33:35 CST 2009
7
8 # rsh -l root master date
9 Permission denied.
10
11 Everytime when I tried to use root to login, I got the error
12 "Permission denied."
13
14 master # cat /root/.rhosts
15 node07 root
16 node07 wcw
17
18 master # ls -l /root/.rhosts
19 -rw------- 1 root root 33 Jan 6 23:31 /root/.rhosts
20
21 I guess maybe rsh does not allow to login as root. So anyway to solved
22 this problem?
23
24 Thanks!
25 --
26 wcw

Replies

Subject Author
Re: [gentoo-user] Re: rsh failed : Connection reset by peer Matt Harrison <iwasinnamuknow@×××××××××.com>