Migrating user accounts from linux to freebsd

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Thu Apr 8 07:41:35 PDT 2004


Konrad Heuer <kheuer2 at gwdg.de> 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.


More information about the freebsd-questions mailing list