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!

No Trust from the Sun!!!! 1

Status
Not open for further replies.

lawsoncs

Technical User
Oct 3, 2001
16
US
O.K., here's the scenario. I am executing my local program on a HP-UX system. However, in this program, we need to run some programs on a remote Solaris system using "remsh -l username hostname command" without entering a password. We have the usernames in the .rhosts files on the Solaris correctly configured. But, when we attempt the login, it still requires a password. We want to be able to do this without entering a password. All the machines are in both hosts.equiv files. Anyone had this problem?? Thanks a BUNCH!!!
 
You said you had the username in the .rhosts file. Have you tried putting the hostname in the file as well?

hostname username
 
If you do not want to enter a password, you can define the same user on both machines and have that user do the rsh.
 
O.K., tuka, yes I do have the hostname and username in the .rhosts file (sorry I didn't mention that before, but Thanks a bunch!!) and it wouldn't work. lfoata, I need any user (we have about 30 in teh department) to be able to enter without a password. Do I need to put all of them in?? Also, Are you talking about the root .rhosts file on both machines??
 
Put it in the .rhosts file in the home directory of the user
 
That's been done too. I just noticed something else.When I just rlogin to the Sun, it asks for a password. But, before it asks for the password, it outputs "User Signal 1". Any ideas??
 
Its possible that is a "resolver" problem try put hostname with domain, like myhost.mydomain, also you can put only a + for debug only, + will allow any host any user, if with + works you have a resolver problem

Hope it helps,

Regards,

Carlos Almeida.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top