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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RCP - Trusted Connections between 2 servers

Status
Not open for further replies.

hellsing

MIS
Sep 3, 2001
97
GB
I have two SCO openserver 5.0.6 servers on a network. I need to be able to run rcp commands in the cron, therefore I need to set them up so that they trust each other and the rlogin command does not prompt for a password.
I have created a rhosts file and setup the hosts.equiv file but whenever I try to rlogin it asks for a password and an rcp says permission denied.
Any ideas anyone??
Thanks in advance.
 
PeteLuck,

Make sure the permissions on the .rhosts
files are 700. In order to setup a trusted
configuration you need:

a .rhosts file in the directory of the
user that the process will run as
(/ for root) with 700 permissions in the
format
machine.domain.com username

you'll need the .rhosts on both servers.
make sure the user has the same ID# on
both systems.

A /etc/hosts.equiv file on both servers
with permissions 700 in the format:

machine.domain.com

go ahead and list both servers in each
hosts.equiv file.

Then your rcp/rsh etc should work fine.

Enjoy

Caldera Support
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top