From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 07:41:35 2004 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 7809C16A4CE for ; Thu, 8 Apr 2004 07:41:35 -0700 (PDT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28A7843D5E for ; Thu, 8 Apr 2004 07:41:35 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.196.44]) by comcast.net (sccrmhc13) with ESMTP id <20040408144134016003gqjhe>; Thu, 8 Apr 2004 14:41:34 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id 83FBE12; Thu, 8 Apr 2004 10:41:33 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Brian Sheehan , freebsd-questions@freebsd.org References: <40753CC0.60104@ul.ie> <20040408143808.H30924@gwdu60.gwdg.de> From: Lowell Gilbert Date: 08 Apr 2004 10:41:33 -0400 In-Reply-To: <20040408143808.H30924@gwdu60.gwdg.de> Message-ID: <44u0zu4jmq.fsf@be-well.ilk.org> Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Migrating user accounts from linux to freebsd 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: Thu, 08 Apr 2004 14:41:35 -0000 Konrad Heuer writes: > On Thu, 8 Apr 2004, Brian Sheehan wrote: > > > I've recently done a fresh installation of freebsd 4.9, and now I want > > to migrate the user accounts from a redhat 9 machine to the new freebsd > > machine, and hopefully keep logins and passwords unchanged. Is this > > possible? > > It is possible, but you need to write a shell or perl script to combine > the user entries in the Linux files /etc/passwd and /etc/shadow [...] There's an awk script in the passwd(5) manual for this purpose.