Jul 16, 2002 #1 Genka MIS Jul 15, 2001 20 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
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
Jul 17, 2002 #2 DSMARWAY Technical User Jun 25, 2002 640 GB 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. Upvote 0 Downvote
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.