From owner-freebsd-isp Thu Dec 9 14:46:46 1999 Delivered-To: freebsd-isp@freebsd.org Received: from gamera.comnetcom.net (ns1.comnetcom.net [209.100.247.254]) by hub.freebsd.org (Postfix) with ESMTP id 6B31215206 for ; Thu, 9 Dec 1999 14:46:43 -0800 (PST) (envelope-from jeff@comnetcom.net) Received: from jeff (laptop.comnetcom.net [209.100.247.124]) by gamera.comnetcom.net (8.9.1/8.9.1) with SMTP id RAA05413 for ; Thu, 9 Dec 1999 17:08:22 -0600 (CST) Message-ID: <00a201bf4297$4bc415e0$7cf764d1@comnetcom.net> From: "Jeff Tolley" To: Subject: Re: quick question on passwd file. Date: Thu, 9 Dec 1999 16:46:56 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks for all the help everyone. It shouldn't be much of a problem. Jeff Tolley - jeff@comnetcom.net Senior Systems Engineer Com Net Communication Systems, Inc. ----- Original Message ----- From: "Greg Lehey" To: "Jeff Tolley" ; Sent: Tuesday, December 07, 1999 8:33 PM Subject: Re: quick question on passwd file. > On Tuesday, 7 December 1999 at 16:32:29 -0600, Jeff Tolley wrote: > > I hope this in the right place. > > You're probabbly better off in -questions, since this isn't a > specifically ISP issue. > > > We are currently in the process of migrating our webserver to a > > better machine. What is the best way to move the users from the old > > machine to the new machine? Is simply copying over the passwd and > > master.passwd file's enough? > > There are in fact two other files, /etc/pwd.db and /etc/spwd.db as > well. But you can generate them and /etc/passwd from > /etc/master.passwd (thus the name). The "correct" way to do it is > with pwd_mkdb(8), which has a reasonable man page. The "easy" way do > to it is with vipw(8). You'll have to change something and write it > back to fool vipw to start pwd_mkdb, but that's about all you need to > do. > > Greg > -- > Finger grog@lemis.com for PGP public key > See complete headers for address and phone numbers > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message