Re: Change linux password using php

From: Date: Fri, 05 Oct 2001 13:54:39 +0000
Subject: Re: Change linux password using php
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-70084@lists.php.net to get a copy of this message
Here's what I got from the mandrake security mailing list so far: This is strange. I was just going to write a mail to this list about this. it seems that /etc/shadow accepts both crypt passwords (the short passwd) and MD5 passwords. (34 characters with $ and slashes does seem to me like md5). I found this because I was transferring users between servers so I copy and pasted the passwords and it worked on both occasions. very strange... Bye -- Haim On Thu, Oct 04, 2001 at 11:07:57PM -0700, Evan Nemerson wrote: > Does anyone know what algorithm is used on the passwords in the /etc/shadow > or /etc/passwd files? All the documentation I can find says crypt is used > with two characters of salt which should output 13 characters. However my > shadow file shows 34 character strings with dollar signs and slashes > (shouldn't the output be alpha-numeric???). I already checked md5- nope. > > Please reply to my e-mail address since i don't subscribe to this list > (sorry, but i get enough php-general to keep me busy). > > > Thanks in advance, > Evan Nemerson > >

« previous php.general (#70084) next »