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
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
Comment