Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Feb 2004 01:52:13 -0800
From:      Micheas Herman <micheas@freep.org>
To:        "." <freebsd-questions@freebsd.org>
Subject:   Re: converting users from FreeBSD to linux (PAM)
Message-ID:  <1078048333.21276.18.camel@tux>
In-Reply-To: <1078045486.21276.9.camel@tux>
References:  <1078045486.21276.9.camel@tux>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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