[BusyBox] how does passwd work

Florian Fainelli florian at alphacore.net
Fri Feb 25 16:17:35 UTC 2005


Hi all,

I would like to know how passwd produces the md5 password wich is in 
the /etc/passwd file. Examining the passwd.c file did not tell me more about 
what it is doing.

I have to write a web interface, and I prefer to calculate the md5 password 
with javascript, and then write directly the correct /etc/passwd file.

In fact, the simple implementation of the md5 algorithm does not work, and 
does not produce the password expected in the /etc/passwd file.

Has anybody got an idea ? Thanks for your answers.

Best regards, Florian
-- 
Cordialement, Florian

Association Nantes-Wireless
www.nantes-wireless.org

www.alphacore.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20050225/68f65394/attachment-0002.pgp 


More information about the busybox mailing list