[SunHELP] Why I failed to run rsh command ?

Kovalev, Ivan sunhelp at sunhelp.org
Fri Jul 27 08:52:39 CDT 2001


~$HOME/.rhosts establishes account equivalency between different hosts. You
can use "rsh -l acc_name remote_host command" for cases when you want to
execute command from other user account.

/etc/hosts.equiv gives host equivalency, try to avoid using it.

Ivan

-----Original Message-----
From: Michael Horton [mailto:mh1272 at yahoo.com]
Sent: Friday, July 27, 2001 9:12 AM
To: sunhelp at sunhelp.org
Subject: Re: [SunHELP] Why I failed to run rsh command ?


This will work for users if they have a login ID on both workstations
and is another file that should be checked.

   ~$HOME/.rhosts

HTH,

Michael


Peter Stokes wrote:
> 
> Hi
> 
> /.rhosts will work if you are root, but you will need /etc/hosts.equiv
> setting up for non root I think (it should be in the man page for
rlogin/rsh
> etc)
> 
> Peter
> ---------------------------------
> Peter Stokes
> Ashlyn Computer Services Ltd
> Tel: +44 (0)1636-627900
> Fax: +44 (0)1636-627909
> Mbl: +44 (0)7977-532320
> Web: http://www.ashlyn.co.uk
> ---------------------------------
> 
> -----Original Message-----
> From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
> Behalf Of William Enestvedt
> Sent: 27 July 2001 13:30
> To: 'sunhelp at sunhelp.org'
> Subject: RE: [SunHELP] Why I failed to run rsh command ?
> 
> Did you check the /.rhosts file on each system?
> -wde
> --
> Will Enestvedt
> UNIX System Administrator
> Johnson & Wales University
> WEnestvedt at jwu.edu    (401) 598-1584
> 
> > -----Original Message-----
> > From: Li Jiang [mailto:johnlee at bsc06.sc.mcel.mot.com]
> > Sent: Friday, July 27, 2001 6:28 AM
> > To: sunhelp at sunhelp.org
> > Subject: [SunHELP] Why I failed to run rsh command ?
> >
> >
> > Greetings everyone,
> >
> > I encounted a strange issue and want to get your advice.
> >
> > I can run "rsh hostB" from hostA, but I can't run "rsh  hostB
> > command" from
> > hostA. As you know, "rsh hostB" is equivalent to "rlogin
> > hostB". I don't know
> > what's wrong. A little background, hostA and hostB are
> > running SunOS2.7 and with
> > tcp_wrapper installed(default configuration).
> >
> > Thanks in advance.
> >
> > Best Regards
> > John Lee
> >
> > _______________________________________________
> > SunHELP maillist  -  SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> >
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list