Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rsh help?? 1

Status
Not open for further replies.

lawsoncs

Technical User
Oct 3, 2001
16
US
HI all!! Okay, I am using Solaris CDE and trying to communicate to a remote host containing another one of my accounts that has this Solaris in the .rhosts file. Since Iam at work in a secure network, I have to use it's IP address. Anyway, here's my command:

rsh -l myusername 20.7.130.128 label

and it produces "Login incorrect"!!! However, when I look at the man page for rsh, it's done just like it should be. When I leave out the "label" command, it works just like rlogin and does just fine. It just screws up when I add my command name. Has anyone had this problem?? Thanks!!
 
Hi,
For rsh to work there should be entry in two files namely
/etc/hosts.equiv and /.rhosts
And if u are not running rsh command from root but from another user-id then that user-id should also exist on the other server otherwise rsh won't run.

I hope this helps....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top