Re: [gentoo-user] Re: rsh failed : Connection reset by peer

2009-01-08 Thread Peter Humphrey
On Thursday 08 January 2009 04:51:27 Matt Harrison wrote: RSH was abandoned years ago and I'm surprised there are any applications still around that haven't moved to ssh. $ equery l rsh [ Searching for package 'rsh' in all categories among: ] * installed packages [I--] [ ]

Re: [gentoo-user] Re: rsh failed : Connection reset by peer

2009-01-08 Thread Eric Martin
Matt Harrison wrote: Chuanwen Wu wrote: I guess maybe rsh does not allow to login as root. Probably not, RSH was abandoned years ago and I'm surprised there are any applications still around that haven't moved to ssh. Exposing the root user to an already unsafe transmission is asking for

Re: [gentoo-user] Re: rsh failed : Connection reset by peer

2009-01-08 Thread Chuanwen Wu
Hi, thank all you guys! I give up rsh and trying using ssh now. I stiil find some problem and have started a new thread. On Thu, Jan 8, 2009 at 12:51 PM, Matt Harrison iwasinnamuk...@genestate.com wrote: Chuanwen Wu wrote: I guess maybe rsh does not allow to login as root. Probably not, RSH

Re: [gentoo-user] Re: rsh failed : Connection reset by peer

2009-01-07 Thread Matt Harrison
Chuanwen Wu wrote: I guess maybe rsh does not allow to login as root. Probably not, RSH was abandoned years ago and I'm surprised there are any applications still around that haven't moved to ssh. Exposing the root user to an already unsafe transmission is asking for trouble IMHO.

[gentoo-user] Re: rsh failed : Connection reset by peer

2009-01-06 Thread Chuanwen Wu
I think I have fixed part of the problem, I found this option only_from = localhost in file /etc/xinetd.conf, and mask it. And now I can rlogin into localhost or remotehost: node07 # rlogin master Password: Last login: Tue Jan 6 20:40:36 CST 2009 from node07 on pts/4 rlogin: connection

[gentoo-user] Re: rsh failed : Connection reset by peer

2009-01-06 Thread Chuanwen Wu
I am very sorry for the last e-mail, as I intented to save the email but clicked the send button. I will continue the last letter below. On Tue, Jan 6, 2009 at 9:08 PM, Chuanwen Wu wcw8...@gmail.com wrote: I think I have fixed part of the problem, I found this option only_from = localhost

[gentoo-user] Re: rsh failed : Connection reset by peer

2009-01-06 Thread Chuanwen Wu
I guessed it is the pam problem, and I re-installed netkit-rsh with USE=-pam, now I can use rsh with common users, but root still not work: # rsh -l wcw master date Tue Jan 6 23:33:35 CST 2009 # rsh -l root master date Permission denied. Everytime when I tried to use root to login, I got the