[plug] MD5 convert

Christian christian at amnet.net.au
Fri Jan 11 09:02:42 WST 2002


On Fri, Jan 11, 2002 at 01:02:18AM +0800, Brian Tombleson wrote:
 
> I had a RH6.2 box with 1500 users on it created with the MD5 hash
> Hard drive crashed.
> The guy on-site installed a new HDD with Debian but didn't choose "Use MD5
> Passwords" at the install prompt.
> Scripted an iterative "adduser" for all of the names in a backup of the
> original /etc/passwd file and grab the pre-encrypted passwords from the
> corresponding backup of /etc/shadow. <- At this stage, I didn't know "the
> system" wasn't using MD5.

So you basically copied the old shadow file across?

> None of the new users authenticated. <- now I knew.

That's odd, or at least a little disappointing if Linux has actually gone
backwards in this. 

-- 
DSA 0x0EC1D28C: BBCB 0D79 4EBB 078A A066  7267 8BED E9D6 0EC1 D28C



More information about the plug mailing list