Date: Wed, 29 Sep 1999 12:38:55 -0400 (EDT) From: danh@wzrd.com (Dan Harnett) To: up@3.am Cc: freebsd-isp@freebsd.org Subject: Re: changing server platforms Message-ID: <19990929163855.A57655D01B@mail.wzrd.com> In-Reply-To: <Pine.GSO.4.10.9909291006230.17159-100000@richard2.pil.net> from "up@3.am" at "Sep 29, 1999 10:20:46 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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 <dream> There's a well-known utility to translate Solaris /etc/passwd > and /etc/shadow files into a working FreeBSD format </dream>. > > 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 <http://www.ispf.com/> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990929163855.A57655D01B>