From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fa528,f36c62fdc1237efa X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-08-12 08:35:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Marre des Spameurs qui prennent les add dans les news [SauroN]" Newsgroups: comp.unix.tru64 Subject: Re: best way to synch passwd file between 2 systems Date: Mon, 12 Aug 2002 17:30:08 +0200 Organization: [SauroN] a Mordor :) Message-ID: References: NNTP-Posting-Host: 212.234.111.157 X-Trace: s1.read.news.oleane.net 1029166209 23681 212.234.111.157 (12 Aug 2002 15:30:09 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 12 Aug 2002 15:30:09 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.unix.tru64:8372 "dJon'Z" a �crit dans le message de news: aj8j60$18u9v9$1@ID-126742.news.dfncis.de... | 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. | u can use a CVS system for all ur config file for /etc | Anyone have any thoughts, or better ideas, to keep my two systems at the | same user password level? | | thanks - Dale | |