From owner-freebsd-isp Wed Sep 29 9:39: 1 1999 Delivered-To: freebsd-isp@freebsd.org Received: from mail.wzrd.com (mail.wzrd.com [206.99.165.3]) by hub.freebsd.org (Postfix) with ESMTP id 4F6B9150FE for ; Wed, 29 Sep 1999 09:38:56 -0700 (PDT) (envelope-from danh@wzrd.com) Received: by mail.wzrd.com (Postfix, from userid 91) id A57655D01B; Wed, 29 Sep 1999 12:38:55 -0400 (EDT) Subject: Re: changing server platforms In-Reply-To: from "up@3.am" at "Sep 29, 1999 10:20:46 am" To: up@3.am Date: Wed, 29 Sep 1999 12:38:55 -0400 (EDT) Cc: freebsd-isp@freebsd.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2160 Message-Id: <19990929163855.A57655D01B@mail.wzrd.com> From: danh@wzrd.com (Dan Harnett) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Under FreeBSD, /etc/master.passwd is what holds the passwords for the users. It also has some additional fields not found in SysV type password files. /etc/passwd, /etc/pwd.db, and /etc/spwd.db are all created from /etc/master.passwd. It should be possible to write a script to merge the encrypted passwords passwords from /etc/shadow and the rest of the entries in /etc/passwd into the proper format (man 5 passwd). A good crack program is John the Ripper. Dan Harnett > > I'm getting ready to change our main server (mail, user web, ftd, > secondary radius, etc) from Sparc Solaris 2.6 to FreeBSD 3.2-RELEASE > soon. My main concern is going to be getting > 1100 usernames and > passwords moved over. > > I can see that just moving /etc/passwd and /etc/shadow over isn't going to > work. In fact, I can see that FBSD doesn't even have an /etc/shadow, but > what I assume contains that data, /etc/pwd.db, which appears to be some > sort of hashed file. > > So far, I can think of a few ways to do this, none of them ideal: > > 1: gather all the usernames and passwords from a customer database and > write a script to add them all in. Problem with this is that database > isn't 100% up-to-date with the passwords. > > 2: run a crack program (any recommendations?) on a copy of the Solaris > /etc/shadow file, then trim out the username/passwd pairs for same script. > > Or There's a well-known utility to translate Solaris /etc/passwd > and /etc/shadow files into a working FreeBSD format . > > Suggestions appreciated... > > James Smallacombe PlantageNet, Inc. CEO and Janitor > up@3.am http://3.am > ========================================================================= > ISPF 3 - The Forum for ISPs by ISPs(tm) || Nov 15-17, 1999, New Orleans > 3 days of clues, news, and views from the industry's best and brightest. > Visit for information and registration. > ========================================================================= > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message