From: "dJon'Z" <dalejava@freeshell.org>
Subject: best way to synch passwd file between 2 systems
Date: Mon, 12 Aug 2002 11:10:54 -0400 [thread overview]
Message-ID: <aj8j60$18u9v9$1@ID-126742.news.dfncis.de> (raw)
I've just set up a TruCluster v1.6 on two Tru64 4.0g boxes. Since I've got
two separate systems with two /etc/passwd files to maintain, I want to
regularly synch the two files.
My thought is to run a cron script daily, use rsh and rcp to check which
version is newer, and copy that version to the second system.
It's not foolproof, but I'm not worried if the cluster switches hosts since
I'll know that. I may have an id or two that in not synched due to the
timing of the file copy, but that is a very minor issue.
My question is: can I copy the password file without a problem? I know I
should use vipw to edit the file and have it maintained, which got me
wondering if I could overlay the /etc/passwd file or do I need to do
something special?
I recall something about a makehash command and think I may need this as
well.
Anyone have any thoughts, or better ideas, to keep my two systems at the
same user password level?
thanks - Dale
next reply other threads:[~2002-08-12 15:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-12 15:10 dJon'Z [this message]
2002-08-12 15:30 ` best way to synch passwd file between 2 systems Marre des Spameurs qui prennent les add dans les news [SauroN]
2002-08-12 15:46 ` Brian Haley
2002-08-12 23:52 ` Nico Kadel-Garcia
2002-08-12 16:34 ` Paul A Sand
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox