Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rcp doesn't work

Status
Not open for further replies.

mingx98

Technical User
Mar 16, 2000
78
CA
I have 2 regular user in 2 Solaris 2.6,
I have correct /etc/hosts.equiv and /home dir/.rhosts,
why I can not do as:
host2$ rcp $host1:/homedir/somefile /homedir/.

Please help, Thanks

[sig][/sig]
 
The following examples are executed on system alpha, by user fred. alpha is networked to beta and gamma.

The example copies list from fred's home directory on
alpha to fred's home directory on beta.

rcp list beta:list
[sig][/sig]
 
Having correct /etc/hosts.equiv or .rhosts simply wont allow
you to do a rcp , or rsh.
You should have the following line uncommented in the dest. machine`s /etc/inetd.conf (this is to invoke rsh daemon)

shell stream tcp nowait root /usr/sbin/in.rshd in.rshd

If the above line is commented , remove the comment and
execute
# kill -1 <pid> (rereads the inetd.conf)
(pid is the process id of inetd .)

Thats all.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top