Hi Guys!
i want my php script to change the password of a user in the system ....
for that i thought i can use the command ..
(passwd --stdin username < /tmp/newpasswdfile )
through exec or System command ...
(Note:newpasswdfile is where i store the new password ... and after executing the command i delete that file from the sytstem)
but this command can be executed only by root ... is there any other method by which i can change the password of a user in the system .. i tried calling a perl cgi script to do that .. but didn't work out ...
my PHP is runing as an apache module ...
thanks,
danny ....