Problem with rlogin and authorisation

Problem with rlogin and authorisation

Post by Lex Schipper » Fri, 09 Aug 1996 04:00:00



When we use rlogin and all other "r" programs the existence of the
/etc/hosts.equiv and the .rhosts file seems to be ignored. rlogin
requires a password and the oters do nothing at all. In the
remote host.equiv file we put the name of the local machine. We also did
that with the remote .rhosts file which is in the home directory of the
user who wants to rlogin with the permission 600.

Who can give me a solution for this problem!!!

 
 
 

Problem with rlogin and authorisation

Post by Jani Jaakko » Sat, 10 Aug 1996 04:00:00




Quote:> When we use rlogin and all other "r" programs the existence of the
> /etc/hosts.equiv and the .rhosts file seems to be ignored. rlogin
> requires a password and the oters do nothing at all. In the
> remote host.equiv file we put the name of the local machine. We also did
> that with the remote .rhosts file which is in the home directory of the
> user who wants to rlogin with the permission 600.

> Who can give me a solution for this problem!!!

% cat /etc/HOSTNAME
sipulipaasi.cs.Helsinki.FI
% cat .rhosts
cat: .rhosts: No such file or directory
% rlogin sipulipaasi
Password:
Last login: Fri Aug  9 15:23:30 from sipulipaasi.cs.H
Linux 2.0.0 i586
Fri Aug  9 15:28:58 EET DST 1996
--sipulipaasi:~
Quote:> logout

rlogin: connection closed.
% cp /etc/HOSTNAME ~/.rhosts
% rlogin sipulipaasi
Last login: Fri Aug  9 15:28:58 from sipulipaasi.cs.H
Linux 2.0.0 i586
Fri Aug  9 15:29:20 EET DST 1996
--sipulipaasi:~

I guess that you did not use the full domain name. Anyways, I don't
use rlogin anymore, i use ssh. See http://www.cs.hut.fi/ssh/

- Jani