Hello Ganesan, On Wed, 3 Oct 2001, Ganesan Kanavathy wrote: > Thank you for the previous help on earlier problem "Cannot Login After > Installing PAM". Finaly managed to solve it. > I have another question, hope you can help me. > Recently I have installed sendmail on Linux box running Redhat 7.0. It > is running well where user can retrieve and send mails using Outlook > Express. > The problem is that the user can't change their password on their own. > What I was required to do is to create a web page in PHP to allow the > user to change their password without the help of administrator (on > their own). > Does these have something to do with PAM? > Please suggest, what are the things I need to do in order create web > based password changing program in PHP. There are a few solutions that might meet your needs. One solution in One solution that might meet your needs is php_pam (ftp://ftp.netexpress.net/pub/pam/php_pam.newest.tgz). This is a PHP extension that implements the PAM API. However, one notable deficiency in this extension is that it only works for password changing if the webserver user (nobody, or www-data, on most Linux systems) has *direct* access to change the password. If you are using standard Unix passwords in /etc/passwd or /etc/shadow, it is not a particularly good idea to give the web user this access. I will at some point be rewriting php_pam to be more flexible, but haven't had much time to point in that direction. In the meantime, it works for some people and not for others. Steve Langasek postmodern programmer