Gentoo Archives: gentoo-user

From: Chuanwen Wu <wcw8410@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] rsh failed
Date: Tue, 21 Oct 2008 03:09:40
Message-Id: 7797aa370810202009o7eecad04p9321d2cd809ed436@mail.gmail.com
In Reply to: Re: [gentoo-user] rsh failed by Dirk Heinrichs
1 Hi Dirk,
2
3 > What's in your ~/.rhosts and what are its permissions? Additionally, what are
4 > the permissions of your ~ directory?
5 In the server machine 192.168.0.1, I have .rhosts under /root and
6 /home/wcw, and they are both as same as below:
7
8 192.168.0.7 wcw
9 192.168.0.7 root
10
11 and
12 # cat /etc/hosts.equiv
13 192.168.0.7
14
15 The permission of "/home/wcw" is 755, and "/root" is 700.
16
17
18 When I tried to rlogin from 192.168.0.7 as the user "wcw" or "root", I
19 got the error below:
20
21 wcw@wcw-laptop ~ $ rlogin 192.168.0.1
22 rcmd: 192.168.0.1: Connection reset by peer
23
24 wcw-laptop ~ # rlogin 192.168.0.1
25 rcmd: 192.168.0.1: Connection reset by peer
26
27
28 Thanks for your help!
29 --
30 wcw

Replies

Subject Author
Re: [gentoo-user] rsh failed Dirk Heinrichs <dirk.heinrichs.ext@×××.com>