Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 1999 21:32:40 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        sl@zeus.dnt.md (Veaceslav Revutchi)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: converting linux /etc/shadow to FreeBSD /etc/master.passwd
Message-ID:  <199903170232.VAA02529@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.BSF.4.05.9903161158160.80268-100000@zeus.dnt.md> from Veaceslav Revutchi at "Mar 16, 99 12:02:27 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Veaceslav Revutchi wrote,
> 
> Hi
> 
> I will be transferring all the accounts from a RedHat5.1
> to a freebsd3.1R machine.
> 
> Is there a way to covert the linux shaddow file into the freebsd's
> master.passwd?

Although a script to do this would not be too tough, you might as well
just use a fairly smart editor to merge the fields from the passwd
file and shadow file into one on your Linux system. Then move this
file to FreeBSD and use vipw, again with your favorite editor, to
include the new file. Exit vipw, and you should be all go... provided
that you have FreeBSD using the same encryption scheme as the Linux
system was.
-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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