Re: password change

From: Chung Leong (chernyshevsky_at_hotmail.com)
Date: 08/21/04


Date: Fri, 20 Aug 2004 21:58:08 -0400


"Max" <max@NOSPAMkipness.com> wrote in message
news:F2xVc.5815$FV3.4725@newssvr17.news.prodigy.com...
> Hi,
>
> What is the best way to change passwords via php?
>
> I was first thinking of using the chpasswd function, but even though I
added
> an entry for apache to be able to run chpassword vi visudo, but I still
get
> the following error:
>
> chpasswd: can't lock password file
>
> I've also tried allowing apache to run passwd and get the folloing error:
>
> Only root can do that.
>
> I'm kind of just in the experimenting stage on a development server, so
> security is not an issue yet. But what would be the most secure method,
I've
> read so many different opinions?
>
> Thanks,
> Max
>
>

suexec?



Relevant Pages

  • password change
    ... What is the best way to change passwords via php? ... I was first thinking of using the chpasswd function, ... I've also tried allowing apache to run passwd and get the folloing error: ...
    (comp.lang.php)
  • chpasswd
    ... i´m trying to change user passwords using apache. ... # echo "user:pass"|chpasswd ... chpasswd: can't lock password file ...
    (RedHat)