From owner-freebsd-questions@FreeBSD.ORG Sun Feb 29 01:52:14 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 D742E16A4CE for ; Sun, 29 Feb 2004 01:52:14 -0800 (PST) Received: from freep.dyns.net (adsl-64-170-112-208.dsl.snfc21.pacbell.net [64.170.112.208]) by mx1.FreeBSD.org (Postfix) with SMTP id 3E56543D1D for ; Sun, 29 Feb 2004 01:52:14 -0800 (PST) (envelope-from micheas@freep.org) Received: (qmail 81462 invoked from network); 29 Feb 2004 09:52:13 -0000 Received: from tux.a (10.0.0.173) by sol.a with SMTP; 29 Feb 2004 09:52:13 -0000 From: Micheas Herman To: "." In-Reply-To: <1078045486.21276.9.camel@tux> References: <1078045486.21276.9.camel@tux> Content-Type: text/plain Organization: Free Print Shop Message-Id: <1078048333.21276.18.camel@tux> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 29 Feb 2004 01:52:13 -0800 Content-Transfer-Encoding: 7bit Subject: Re: converting users from FreeBSD to linux (PAM) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: micheas@freep.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 09:52:15 -0000 On Sun, 2004-02-29 at 01:04, Micheas Herman wrote: > I have a need of transfering about twenty user accounts from FreeBSD to > Linux(Debian) > > Is there any way of keeping the PAM passwords in tact? (A tool that > allows for migration in either direction would be ideal) Well I souldn't have given up on Google so soon. cut -d: -f1-4,8- /etc/master.passwd > linux.passwd copy or append linux.passwd to /etc/passwd on the linux box Then run "pwconv" on the linux machine. merging /etc/shadow and /etc/passwd on a Linux computer will give you /etc/master.passwd for FreeBSD. I wish all my operating systems played together as nice as Debian and FreeBSD. Micheas > > My current solution is tell everyone that their password has expired and > they need to type in a new one. > > > Micheas > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"