Try using crypt() in php.


On Fri, 2007-04-20 at 11:25 -0700, Joseph Oaks wrote:

> Hello all, I'm trying to write a small app for the people in the office to
> be able to change their passwords without buggin me. I have a simple little
> PHP already done. It will change the password for both the eGroupWare and
> vpopmail, however the vpopmail doesn't seem to like the md5 encryption...
> My first thought on this was just modify the db directly, with an update,
> this works however it breaks the auth for mail, the egroupware side works
> fine. So I got to checking and found the vchangepw in the vpopmail/bin dir.
> My question is how can I call this via a script and pass the email address,
> current password, and new password to it via variables?
> Joe

Reply via email to