From owner-freebsd-questions@FreeBSD.ORG Fri Nov 28 08:50:55 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7C9416A4CE for ; Fri, 28 Nov 2003 08:50:55 -0800 (PST) Received: from lakemtao06.cox.net (lakemtao06.cox.net [68.1.17.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 287E4440C3 for ; Fri, 28 Nov 2003 08:49:21 -0800 (PST) (envelope-from micheal@tsgincorporated.com) Received: from dredster ([68.12.79.37]) by lakemtao06.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031128164918.QBWY24575.lakemtao06.cox.net@dredster>; Fri, 28 Nov 2003 11:49:18 -0500 Message-ID: <029501c3b5cf$9decb7a0$0201a8c0@dredster> From: "Micheal Patterson" To: "Rob Evers" , References: <3FC6013D.9090403@debank.tv> Date: Fri, 28 Nov 2003 10:49:37 -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 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: migrating users X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2003 16:50:56 -0000 ----- Original Message ----- From: "Rob Evers" To: Sent: Thursday, November 27, 2003 7:50 AM Subject: migrating users > Hi all, > > I'm going to move move my sendmail server to a new machine. > The new machine will use postfix and virtual users, now what I cant't > figure out is how to migrate the users (and keep the old passwords). > Does anyone know of a procedure to extract plain text passwords for all > users ? > Or maybe just pointers where to look. > > Thanks > > Rob Evers > Rob, There's a really simple solution to this that so far I've not seen anyone mention. Especially if you want to make an exact duplicate of the existing password file and you have a system with a ssh / telnet client that you can copy / paste from / into. Just run vipw on the existing mail server, scroll through the listing so it's in your buffer, copy the password file into your clipboard, ssh into the new system, run vipw and paste it into the new system. When you exit vipw, it will update the database and you're done. I've done this when moving to new mail servers in the past. -- Micheal Patterson Network Administration Cancer Care Network 405-917-0600