--- category: '' date: 2007/05/18 13:42 description: '' link: '' priority: '' slug: BBS42 tags: programming, python, linux title: RA-WebPass type: text updated: 2007/05/18 13:42 url_type: '' --- **The problem:** Your users need to change their passwords in a linux system. **The solution:** A webpage to do just that. **Requires:** * Colubrid_ * checkpassword-pam_ **How it works:** 1. You run it on the box whose passwords need changing. 2. Your users access http://your.server:8080 3. They change their passwords .. _colubrid: http://wsgiarea.pocoo.org/colubrid/ .. _checkpassword-pam: http://checkpasswd-pam.sourceforge.net **Configuration:** Probably you don't need to do anything. If it doesn't work right, try checking this piece of the script: .. code-block:: python ################# ## Configuration ################# port=8080 chpasswd='/usr/sbin/chpasswd' checkpassword-pam='/usr/bin/checkpassword-pam' pam_service='xdm' ################# ## That's it ################# If you want to change the look of the webpage, change the contents of the webpage variable in the script. It's the one that has HTML in it. **Download:** ra-webpass.py_ .. _ra-webpass.py: http://lateral.netmanagers.com.ar/static/ra-webpass.py **License:** MIT