RA-WebPass

The pro­ble­m: Your users need to chan­ge their pa­sswor­ds in a li­nux sys­te­m.

The so­lu­tio­n: A we­bpa­ge to do just tha­t.

Re­qui­res:

How it wo­rks:

  1. You run it on the box who­se pa­sswor­ds need chan­gin­g.
  2. Your users ac­ce­ss http://­you­r.­ser­ve­r:8080
  3. They chan­ge their pa­sswor­ds

Con­fi­gu­ra­tio­n:

Pro­ba­bly you do­n’t need to do an­y­thin­g. If it does­n’t wo­rk ri­gh­t, ­try che­cking this pie­ce of the scrip­t:

#################
## Configuration
#################

port=8080
chpasswd='/usr/sbin/chpasswd'
checkpassword-pam='/usr/bin/checkpassword-pam'
pam_service='xdm'

#################
## That's it
#################

If you want to chan­ge the look of the we­bpa­ge, chan­ge the con­ten­ts of the we­bpa­ge va­ria­ble in the scrip­t. It’s the one that has HT­ML in it.

Do­wn­load:

ra-we­bpa­ss.­py

Li­cen­se: MIT

Comentarios

Comments powered by Disqus
Contents © 2000-2013 Roberto Alsina
Share