From owner-freebsd-questions Fri Feb 6 15:59:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA24946 for questions-outgoing; Fri, 6 Feb 1998 15:59:29 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from germanium.xtalwind.net (germanium.xtalwind.net [205.160.242.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA24934 for ; Fri, 6 Feb 1998 15:59:19 -0800 (PST) (envelope-from jack@germanium.xtalwind.net) Received: from localhost (jack@localhost) by germanium.xtalwind.net (8.8.8/8.8.7) with SMTP id SAA01471; Fri, 6 Feb 1998 18:58:00 -0500 (EST) Date: Fri, 6 Feb 1998 18:58:00 -0500 (EST) From: jack To: MARK JONES cc: freebsd-questions@FreeBSD.ORG Subject: Re: passwd In-Reply-To: <34DB767D.5887@london.skyscape.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" On Fri, 6 Feb 1998, MARK JONES wrote: > I am migrating from BSDI 2.01 to freebsd and wondered if there was an > easy way to transfer the passwdord file. Enable DES on the FreeBSD box and just copy /etc/master.passwd /etc/passwd /etc/pwd.db and /etc/spwd.db from BSDI to the FreeBSD box PROVIDED you don't have any usernames >8 characters on BSDI. If you do you'll have to recompile FreeBSD to take the longer usernames. In /usr/src/include/utmp.h change #define UT_NAMESIZE from 8 to 16 and in /usr/src/sys/sys/param.h change #define MAXLOGNAME to be >= 16. I've been using 20 there. make world, build a kernel, and reboot. Been there, done that, so painless it doesn't even deserve a T-shirt. :) -------------------------------------------------------------------------- Jack O'Neill Systems Administrator / Systems Analyst jack@germanium.xtalwind.net Crystal Wind Communications, Inc. Finger jack@germanium.xtalwind.net for my PGP key. PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67 FD 09 E9 3C 5F CC EB CD enriched, vcard, HTML messages > /dev/null --------------------------------------------------------------------------