View Single Post

  #7 (permalink)  
Old 08-15-2004
all mail refused
 
Posts: n/a
Default Re: rsh problem from linux to solaris machines

In article <cfn2op$9h0$1@apollon.grec.isp.9tel.net>, Nicolas wrote:

>> But when I rsh from 'linux machines that are in .rhosts to any of the
>> Sun servers' it prompts for a password.


>from memory (plus, I'm using ssh for years now)


I suggest using ssh instead of r*.

>I believe that .rhost only works with rlogin & rcp, at least on Solaris
>& hp-ux. I've always had to provide a passwd with rsh & remsh.


rsh,remsh also use .rhosts just the same.
Maybe name lookups are behind the problems of the OP.

>Also, you may provide in the /etc/hosts.equiv, /etc/hosts.allow &
>/etc/hosts.deny the name of hosts *AND USERS* allowed (or denied) to
>connect without passwords.


Do not put usernames in /etc/hosts.equiv unless you want
fred@foreign doing rsh to bin@sunserver .

HP-UX has a non-traditional interpretation of usernames in
/etc/hosts.equiv so putting them in there is not so bad.

--
Elvis Notargiacomo master AT barefaced DOT cheek
http://www.notatla.org.uk/goen/
If its message contained filing-cabinets in annex, for
security reasons same sao automatically extinguished.
Reply With Quote