11 Dec
2006
11 Dec
'06
3:50 p.m.
On 12/11/06, Benjamin Dabelow dabelow@tuxoft.de wrote:
Hi Marc,
Marc Perkel schrieb:
So - here's my off topic question. I'm trying to create a PHP interface to allow user to change their password in these passwd / shadow file combos. What kind of encryption do they use and specifically what PHP command would I use to encrypt a password like the shadow file has?
These files are using standard crypt or md5crypt.
... to extend this off-topic thread:
I'm using HMAC-MD5 passwords in my passdb (the string is a HMAC-MD5 _context_, to be precise). Currently, the only known method to me for creating these contexts is to use the dovecotpw utility. I wonder if there are other possibilites (perl, PHP, ...).
Chris