Operating System - HP-UX
1847258 Members
5422 Online
110263 Solutions
New Discussion

Re: remshd: Login incorrect

 
Robert DJ
Frequent Advisor

remshd: Login incorrect

Hi,

Does anyone know why this error appears,

# remsh testsvr1 -l root -n /usr/sbin/cmviewcl
remshd: Login incorrect.

Thank you in advance.

Regards,
Robs
Robert DJ
5 REPLIES 5
Sandman!
Honored Contributor

Re: remshd: Login incorrect

Robs,

Verify if your .rhosts file in the remote server testsvr1 is configured properly i.e. to allow root access from your local host.

regards!
Muthukumar_5
Honored Contributor

Re: remshd: Login incorrect

Check this:

on local machine:

1. Root $HOME/.rhosts
testsvr1 root

2. Permission with 644 and root:sys ownership

on testsvr1 machine:

1. Root $HOME/.rhosts
root

2. Permission with 644 and root:sys ownership

What it is saying now?
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: remshd: Login incorrect

Check /.rhosts in tesrsrv1 and make sure you have an entry for root to login.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Sivakumar TS
Honored Contributor

Re: remshd: Login incorrect

Dear Robert,

After doing all above entries in .rhosts and /etc/hosts.equiv , you can check the trust between the servers using..

#rlogin restsvr1 -l root

If you are able to logged in without prompting for password then you are done !!!

If the password is prompted then, remsh command also wont work.

With Regards,

Siva.
Nothing is Impossible !
Dave La Mar
Honored Contributor

Re: remshd: Login incorrect

Siva hit on what I would guess.
That being that the passwords for root differ between the two machines.

Best of luck.

Regards,

dl
"I'm not dumb. I just have a command of thoroughly useless information."