I was working with squirrelmail change password plugin on
RHEL 5. Though it works, I know, but unfortunately it was not working on that
day. I have tried all the possible ways but failed. Then I have to go for
alternate way and did changepassword on that server. Here is how I did it.
Download it on your server.
wget <the link for
changepassword-0.9.tar.gz>
untar the file:
tar –zxvf changepassword-0.9.tar.gz
Now enter the directory do the following steps (I have a
cgi-bin dir in /var/www):
cd changepassword-0.9
./configure –help
./configure --enable-cgidir=/var/www/cgi-bin --disable-smbpasswd
--disable-squidpasswd
make && make install
Now open the page with the follwing URL and change your
password:
http://<your-server-IP>/cgi-bin/changepassword.cgi
To make easier for user we have to change the path:
mkdir /var/www/changepass
cd /var/www/changepass
vim index.html
## type the following lines in this file and save it ##
<HTML><HEAD>
<TITLE>Webmail Password change</TITLE>
<meta http-equiv="Refresh" content="0; URl=http://<your-server-ip>/cgi-bin/changepassword.cgi">
</HEAD><BODY>
</body>
</html>
Now restart the apache service and open the below URL:
http://<your-server-ip>/changepass/