HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

remsh : login incorrect

 
PRUSZEK Nicolas
Occasional Contributor

remsh : login incorrect

Hello,

I have a server HP 11.11 named "lanouee", and user use the command on lanouee itself:
remsh lanouee -n ls

Connected with user root, it's ok
but with another user, there is an error "Login incorrect"

What is the pb, file .rhosts seems correct?

File .rhosts:
lanouee.sfr.com +
lanouee +
10.84.186.222 +

OR

lanouee.sfr.com root
lanouee root
10.84.186.222 root

I've tried the 2 configuration.
3 REPLIES
Pete Randall
Outstanding Contributor

Re: remsh : login incorrect

The .rhosts file needs to reside in the user's home directory. Can you verify?


Pete

Pete
Bill Hassell
Honored Contributor

Re: remsh : login incorrect

There are several permission/ownership check to be made:

The .rhosts file must be in the user's $HOME directory.

The $HOME directory must not be world writable (ie, never 777 permissions).

The .rhosts file must be 600, no read byu anyone except the user.


Bill Hassell, sysadmin
PRUSZEK Nicolas
Occasional Contributor

Re: remsh : login incorrect

thanks you for your help