From owner-freebsd-questions Thu Jun 6 6:49:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from axel.truedestiny.net (a185066.upc-a.chello.nl [62.163.185.66]) by hub.freebsd.org (Postfix) with ESMTP id C870137B406 for ; Thu, 6 Jun 2002 06:49:47 -0700 (PDT) Received: by axel.truedestiny.net (Postfix, from userid 1000) id 2B1CB49ABD; Thu, 6 Jun 2002 15:49:50 +0200 (CEST) Date: Thu, 6 Jun 2002 15:49:50 +0200 From: Axel Scheepers To: Heinrich Rebehn Cc: Axel Scheepers , questions@freebsd.org Subject: Re: How to transfer passwd data from NIS-Server to local Message-ID: <20020606154949.K67863@mars.thuis> Reply-To: Axel Scheepers References: <3CFF446D.9040905@ant.uni-bremen.de> <20020606140742.D67863@mars.thuis> <3CFF54B8.6080505@ant.uni-bremen.de> <20020606143404.H67863@mars.thuis> <3CFF5D7F.4060300@ant.uni-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3CFF5D7F.4060300@ant.uni-bremen.de>; from rebehn@ant.uni-bremen.de on Thu, Jun 06, 2002 at 03:02:55PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 06, 2002 at 03:02:55PM +0200, Heinrich Rebehn wrote: > Just want to be 100% sure: > > Does pwd_mkdb *overwrite* the existing passwd database or *update/merge* the > supplied input with the existing passwd database? > > Heinrich It overwrites them. You probably want to use the -d switch first to build them in let's say ~/tmp_passwd. Then you can do sanity checks on that file, and then run it for real. *Always* make a backup of at least your /etc/*passwd* files whenever you do such a thing. Gr, -- Axel Scheepers UNIX System Administrator email: axel@axel.truedestiny.net a.scheepers@iae.nl http://axel.truedestiny.net/~axel ------------------------------------------ Census Taker to Housewife: Did you ever have the measles, and, if so, how many? ------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message