[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Convert Solaris userids to Linux-Debian



On Thu, Jul 08, 2004 at 08:43:20PM +0200, John Smith wrote:
> Hi all,
> 
> 	in a few weeks I need to convert a couple of hundred userids
> from a Sun Solaris 5.8 box to Linux-Debian.
> 
> 	Does anybody know of a way to do this without the users
> losing their passwords?
Some awk/sed/perl/python magic to extract the hashes from the old passwd
and to add it to the new passwd file. Shouldn't be too hard but you need
to take care of the uid.

So I would readd the user on the new Linux system with the same uid or the
same user name like they had on the SunOS system and then merge the password
hashes into the shadow file.

Sven
-- 
It ain't so bad bein' alone if you know it'll never last nothing lasts forever
'cept the certainly of change and love's the same It's a game with simple rules
If you think it's forever then you're nothing but a fool
   [Venerea - Love Is A Battlefield Of Wounded Hearts]



Reply to: