RA-WebPass


Posted:   |   Leer en español   |  More posts about programming python linux

The problem: Your users need to change their passwords in a linux system.

The solution: A webpage to do just that.

Requires:

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

Configuration:

Probably you don't need to do anything. If it doesn't work right, try checking this piece of the script:

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

License: MIT

Contents © 2000-2013 Roberto Alsina
Share