Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2009 17:25:18 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        gahn <ipfreak@yahoo.com>
Cc:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: passwd file transfer
Message-ID:  <20090416222518.GH90152@dan.emsphone.com>
In-Reply-To: <529347.15907.qm@web52111.mail.re2.yahoo.com>
References:  <529347.15907.qm@web52111.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 16), gahn said:
> we have a linux based system and it will be replaced with freebsd based
> system.  but i would like to reuse users' password.  is there any better
> way to do this?

There's an awk script at the bottom of the passwd(5) manpage that will
convert a non-BSD passwd file to BSD's master.passwd format.  Make sure you
run pwunconv on the Linux box to merge your passwords from /etc/shadow back
into /etc/passwd before running the awk script.

http://www.freebsd.org/cgi/man.cgi?query=passwd&sektion=5

-- 
	Dan Nelson
	dnelson@allantgroup.com



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