uberspace_mailpw_change
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dirk Boye 8b70bbebd5 Merge pull request #2 from OldShatterhand77/patch-1 5 years ago
LICENSE Added Apache License 5 years ago
README.md Update README 5 years ago
changepw.html First version 5 years ago
changepw.py stripping Mail-Address to Username 5 years ago

README.md

mailpw_change

changepw.html: Simple HTML form. Put it into your ~/html for example. Change XXXUSERXXX and XXXHOSTXXX according to your uberspace user and host name.

changepw.py: Put it into your ~/cgi-bin and give all users executable rights (chmod a+x ~/cgi-bin/changepw.py).

Python script will check if user exists, if new password and repeated new password match and also if old password is correct.

Dependencies of Python script: python-cdb

Install on your uberspace with easy_install-2.7 python-cdb

This script probably could be extended to allow each IP only 5 password changes per day to avoid misuse.