Operating System - HP-UX
1833783 Members
2169 Online
110063 Solutions
New Discussion

Re: remshd: Login Incorrect

 
Josep Queraltó
Occasional Contributor

remshd: Login Incorrect

Hello,

Does anybody knows why the HP-UX 10.20
gives me this message when I try to
execute a remote command ?

Thank you

keko
josep
8 REPLIES 8
Andreas Voss
Honored Contributor

Re: remshd: Login Incorrect

Hi,

to get access bey remsh to your HP box you have to create an edit the .rhosts file in the home directory of the user which you want to remsh.
Just add the remote host name in the $HOME/.rhosts file.
Take care that the permissions of that file is corrent:
It should have -rw------- (chmod 600 .rhosts)
also the owner of that file must be the correct user (chown .rhost

Regards

Andrew
Josep Queraltó
Occasional Contributor

Re: remshd: Login Incorrect

Thank you Andrea Voss.

I tried it but it doesn't work. Also the
entry on /etc/passwd is ok.

josep
Steven Sim Kok Leong
Honored Contributor

Re: remshd: Login Incorrect

Hi,

Have you checked whether the userid and password you entered is correct?

Regards.

Steven Sim.
Josep Queraltó
Occasional Contributor

Re: remshd: Login Incorrect

Thank you everybody!

It is now solved. I discovered that the
problem was that the remshd was takin the
name of the nameserver running on this
machine instead of take its own name

Thank you and bye bye
josep
전석운
Occasional Visitor

Re: remshd: Login Incorrect

Hi,

I had the same problem HP-UX 11i. but it solved other causes.
I found that the problem was trusted system mode. user's passwd was not convert trust mode and not exist trust file at /tcb directory. than I could copy another trust file and modify that file, passwd file.

Thank you.
Craig Rants
Honored Contributor

Re: remshd: Login Incorrect

Is the account locked? Are you using the trusted computing base? Are you logining in as root or yourself? There are some questions of which the answers too would provide some good info.

If you are trying to login as root then see if you have an /etc/securetty file and if so what are the contents.

More info would be helpful.

C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Sanjay_6
Honored Contributor

Re: remshd: Login Incorrect

Deepak Extross
Honored Contributor

Re: remshd: Login Incorrect

cool!
A 2-year old thread resurrected! :-)