converting users from FreeBSD to linux (PAM)
Micheas Herman
micheas at freep.org
Sun Feb 29 01:52:15 PST 2004
On Sun, 2004-02-29 at 01:04, Micheas Herman wrote:
> I have a need of transfering about twenty user accounts from FreeBSD to
> Linux(Debian)
>
> Is there any way of keeping the PAM passwords in tact? (A tool that
> allows for migration in either direction would be ideal)
Well I souldn't have given up on Google so soon.
cut -d: -f1-4,8- /etc/master.passwd > linux.passwd
copy or append linux.passwd to /etc/passwd on the linux box
Then run "pwconv" on the linux machine.
merging /etc/shadow and /etc/passwd on a Linux computer will give you
/etc/master.passwd for FreeBSD.
I wish all my operating systems played together as nice as Debian and
FreeBSD.
Micheas
>
> My current solution is tell everyone that their password has expired and
> they need to type in a new one.
>
>
> Micheas
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list