Operating System - HP-UX
1833756 Members
2316 Online
110063 Solutions
New Discussion

Re: Cann't exec rcp remsh!

 
SOLVED
Go to solution
Rabel
Occasional Contributor

Cann't exec rcp remsh!

Form workstation A I can use rlogin logon workstation B,but I cann't use rcp copy file from workstation B to A and cann't use remsh to exec command on B and show the result on A!

Maybe some problem with /etc/hosts.equiv and $Home/.rhosts,but I don't know how to set it!
6 REPLIES 6
Stefan Farrelly
Honored Contributor
Solution

Re: Cann't exec rcp remsh!

Rabel
Occasional Contributor

Re: Cann't exec rcp remsh!

Thank U Farrelly!
But now I just can exec rcp or remsh only with normal user except root user!
Michael Tully
Honored Contributor

Re: Cann't exec rcp remsh!

Make sure that you have also added .rhosts for the root account on the system that you wish to rcp to.
Be sure that you place the .rhosts file in the correct directory. Check the /etc/passwd file to be sure.
Anyone for a Mutiny ?
Rabel
Occasional Contributor

Re: Cann't exec rcp remsh!

There r two workstation: SH7 and RM63!

On RM63, the /etc/hosts.equiv file only has one line:"SH7"

In user axadmin's home directory the .rhost file's content is:
+@1353sh.hp.netgroup axadmin
localhost axadmin
+@1353sh.hp.netgroup snml

In user root's home directory the .rhost file's content is:
+@1353sh.hp.netgroup root

The root and axadmin are all legal user on both RM63 and SH7. The /etc/passwd file is right too.

But now only axadmin user can do rcp/remsh on SH7 regard RM63 as remote workstation.

What wrong with root user?
Michael Tully
Honored Contributor

Re: Cann't exec rcp remsh!

Are either of these systems set up as trusted?
Anyone for a Mutiny ?
Rabel
Occasional Contributor

Re: Cann't exec rcp remsh!

For root user must set either system trusted to enable the rcp or remsh operation?