password change

From: Max (max_at_NOSPAMkipness.com)
Date: 08/21/04

  • Next message: Clark Alexander: "php 5.0.1 IIS 5 Win2k-AS"
    Date: Sat, 21 Aug 2004 00:53:57 GMT
    
    

    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


  • Next message: Clark Alexander: "php 5.0.1 IIS 5 Win2k-AS"

    Relevant Pages

    • Re: 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)