Re: Moving Users Passwords to Debian
>
> I need to move several thousand user entries from a Solaris 2.5.1 system to
> a Debian system. The problem that I have is to move the encrypted passwords.
>
> I have moved passwords between Debian systems by editing the passwd file
> and using 'cut & paste". When I tried "cutting & pasting" between Solaris
> and Debian, it didn't work.
I just tried from
SunOS dino 5.5.1 Generic_103640-12 sun4u sparc SUNW,Ultra-Enterprise
(big fat SUN)
to
Linux pebbles 2.0.27 #2 Mon Sep 15 10:04:07 MET DST 1997 i586
(debian bo)
and it worked.
Are you aware of the shadow settings? If you are using them on debian,
you would first run `shadowconfig off' to insert the passwords directly
into the passwd file. If shadow passwords are active on the SUN (I'd
guess they are), you should copy the encrypted passwords from
/etc/shadow. Or you keep shadow passwords on in debian (`shadowconfig
on'), and copy both the lines from the passwd and from the shadow file
from the SUN. If you are maintaining a system with so many users, be
sure to use shadow passwords with debian.
> Is it possible to move the passwords by doing some form of "bit shifting" -
> converting between little "indian" and big "indian"? If so, can someone
> tell me the procedure?
There are no native Americans involved here, it is about `endian'-ness. :)
Judging from my experiment you should not need to fiddle with that.
HTH,
Eric Meijer
--
E.L. Meijer (tgakem@chem.tue.nl) | tel. office +31 40 2472189
Eindhoven Univ. of Technology | tel. lab. +31 40 2475032
Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax +31 40 2455054
Reply to: