Operating System - HP-UX
1752661 Members
6299 Online
108788 Solutions
New Discussion юеВ

Re: 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 3
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