1832870 Members
2934 Online
110048 Solutions
New Discussion

Re: rcp

 
Barbara Kramer
Frequent Advisor

rcp

Hi,
I gave a user access to rcp from one HPUX machine to another. No PW needed when loggin on. I needed this for oracle webserver.
Yet, whenever the rcp is being send, I receive message remshd: Login incorrect.
what else do I need to pay attention to?
Thanks for helping
Barbara
live is great !!
4 REPLIES 4
Stefan Schulz
Honored Contributor

Re: rcp

Hi,

do you have a .rhosts set up for this user? Then check for correct entries and format. Also check the filepermissions and owner of this file (afaik 400 or 600 owned by this user).

Also check if the remshd is running on the target machine.

If this fails you might have a inetd.sec rule set forbidding an remote command (/var/adm/inted.sec).

HOpe this helps

regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Darrel Louis
Honored Contributor

Re: rcp

Hi Barbara,

Did you create a .rhosts file in the users home directory?

Darrel
Michael Steele_2
Honored Contributor

Re: rcp

In /etc/hosts.equiv

hostB

In /home/user/.rhosts

hostB user

If the user doesn't look the same in /etc/passwd to both host machines you'll get 'remshd: Login incorrect'.
Support Fatherhood - Stop Family Law
Barbara Kramer
Frequent Advisor

Re: rcp

Hi,
well, finaly had time to get back to the problem.
I have had created .rhosts in the users home already. I had also had a hosts.equiv file under /etc.
I can rlogin with the user on machine A.
But I can not rcp to machine A.
The deamon is running on machine A.
I can rcp/rlogin to machine A from a different machine C, with no problems.
The same has been done to machine C, as to machine A. Both machines A and C run HPUX 11.i. The machine B, I want to rcp from is running 11.0. I can rcp from any machine to machine B.
What is there to do?
Any ideas?
Thanks Barbara
live is great !!