How to use sudo with rcp command to copy files from linux host to HP-UX host?
Posted
by
Justin
on Super User
See other posts from Super User
or by Justin
Published on 2012-06-27T23:34:52Z
Indexed on
2012/06/28
3:19 UTC
Read the original article
Hit count: 638
I'm having this issue where when I try to use sudo to rcp some files from a Linux host to an HP-UX host (note that the destination directory requires root access to write to), I get the following error from HP-UX's side:
remshd: Login incorrect.
I should note that the passwords for the Linux host and the HP-UX host are different. The command doesn't seem to give me a chance to enter the proper HP-UX password and automatically defaults to this error.
© Super User or respective owner