From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 10:55:07 2003 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 DC4B837B401 for ; Fri, 11 Apr 2003 10:55:07 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A9AF43F3F for ; Fri, 11 Apr 2003 10:55:03 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by rwcrmhc51.attbi.com (rwcrmhc51) with ESMTP id <2003041117550005100ng3m1e>; Fri, 11 Apr 2003 17:55:00 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h3BHsxXf005712; Fri, 11 Apr 2003 13:54:59 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h3BHswkO005709; Fri, 11 Apr 2003 13:54:58 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Paul Hoffman References: From: Lowell Gilbert Date: 11 Apr 2003 13:54:58 -0400 In-Reply-To: Message-ID: <44fzooc425.fsf@be-well.ilk.org> Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: Importing a foreign passwd file 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: Fri, 11 Apr 2003 17:55:08 -0000 Paul Hoffman writes: > Hi again. I'm setting up a new FreeBSD system to replace an old NetBSD > one. I want to import all the users and their passwords. As an > experiment on a test box, I tried importing the master.passwd and > passwd file from the NetBSD box, that FreeBSD won't let me log in; I > always get "Login incorrect". Nothing is logged in /var/log/anything, > so I don't know why the login attempts are failing. The users' home > directories are created, and they're in proper groups. > > Is this possible to do? Sure. I don't think there are any inter-platform issues, assuming FreeBSD can handle whatever password format you were using on NetBSD. I think you just forgot to build the password database. See the man pages for vipw(8) and pwd_mkdb(8).