Skip site navigation (1)Skip section navigation (2)
Date:      11 Apr 2003 13:54:58 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        Paul Hoffman <phoffman@proper.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Importing a foreign passwd file to FreeBSD
Message-ID:  <44fzooc425.fsf@be-well.ilk.org>
In-Reply-To: <p05210619babbc2534d66@[63.202.92.152]>
References:  <p05210619babbc2534d66@[63.202.92.152]>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Hoffman <phoffman@proper.com> 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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44fzooc425.fsf>