From owner-freebsd-questions Fri Jul 17 11:08:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA24497 for freebsd-questions-outgoing; Fri, 17 Jul 1998 11:08:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA24492 for ; Fri, 17 Jul 1998 11:08:40 -0700 (PDT) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.8.7/8.8.2) with SMTP id LAA26739; Fri, 17 Jul 1998 11:09:29 -0700 (PDT) Date: Fri, 17 Jul 1998 11:09:29 -0700 (PDT) From: Dan Busarow To: "sysadmin@mfn.org" cc: "'-Questions'" Subject: RE: rdist oddity In-Reply-To: <01BDB10C.1FA45830@noc.mfn.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 16 Jul 1998, sysadmin@mfn.org wrote: > (2) I come from an SVR3/4 background, as you know, and I'm not > used to having 3 files associated with my users: passwd, master.passwd, > and pw.db (I may have that last one wrong, but you know what I mean). If you're doing this to synch passwords across servers all you need to copy is /etc/master.passwd and /etc/group I copy ours to a holding directory and then have cron run this as root from the holding area. if [ -f group ] then mv group /etc fi if [ -f master.passwd ] then if /usr/sbin/pwd_mkdb -c master.passwd then chmod 600 master.passwd mv master.passwd /etc /usr/sbin/pwd_mkdb -p /etc/master.passwd fi fi > The .db file tripped me up! That will take getting used to... I will have to > get out of the habit of direct edits, which, as we all know, is an atrocious > habit anyway... vipw Dan -- Dan Busarow 949 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message