Apologies, I found this thread which clears up a lot: http://www.mail-archive.com/[EMAIL PROTECTED]/msg15047.html
Sorry to bother everyone. --- Ken Jones <[EMAIL PROTECTED]> wrote: > From: Ken Jones <[EMAIL PROTECTED]> > To: Natter <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > Date: Wed, 31 Dec 2003 11:35:32 -0600 > Subject: Re: [vqadmin] vpopmail-mysql > > On Wednesday 31 December 2003 11:30 am, Natter > wrote: > > I have converted my vpopmail to use mysql. > > > > Now my question is how do I change user's > passwords? > > There are 2 columns in the mysql table: > > pw_passwd > > pw_clear_passwd > > > > Now, I want to write a php front-end that my users > can > > use to change their password. How do I change the > > crypted password using an update statement? I > would > > rather not > > use the unix command as to this is why I switched > to > > mysql in the first place. > > Check the mysql documentation. It a built in > function > to create unix compatible encrypted passwords, just > pass it a salt and the clear password. > > Ken Jones > inter7.com > __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003
