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

PASSWORD SYNCRONIZING

Status
Not open for further replies.

Genka

MIS
Jul 15, 2001
20
0
0
US
Hi I want to syncronize the password files on 2 machines for fail over purposes. Does any one have a script or an idea how I can do this.

Gene
 
you can remotely copy password file using rcp . Put this entry in cron.
You can use rdist to copy your password file in cron i.e.
/home/rdist.sh

in rdist.sh

print " copying password file " >> $LOGFILE
/usr/bin/rdist -f /home/passfile.cp

in passfile.cp

/etc/passwd -> (remote host)
install -R;


man rdist

If you are using NIS , you can do it this way aswell.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top