| twiki/bin/passwd | perl script to deal with change and reset of password |
| twiki/data/Main/ChangePassword.txt | the topic in Main web for change password |
| twiki/data/Main/ResetPassword.txt | the topic in Main web for reset password |
| twiki/templates/oopsnotwikiuser.tmpl | a oops form telling the user that he mistyped(?) his name |
| twiki/templates/oopswrongpassword.tmpl | a form telling the user that he mistyped his ol password |
| twiki/templates/oopschangepasswd.tmpl | a form telling the user that change of password succeeded |
| twiki/templates/oopsresetpasswd.tmpl | a form telling the user how to proceed to get his password reset |
password handling also MD5 passwords? (I am getting a "wrong old password" error).
-- AndreaSterbini - 10 Feb 2001
# Changes below by Main.TristanClarke, 13Mar01
# for storing MD5 encrypted passwords. See sub htpasswdGeneratePasswd
use MIME::Base64; # http://www.cpan.org/modules/by-module/MIME/
use Digest::SHA1; # http://www.cpan.org/modules/by-module/MD5/
sub htpasswdGeneratePasswd
{
my ( $user, $passwd ) = @_;
# Changed by Main.TristanClarke to store MD5 encrypted passwords as outlined at http://twiki.org/cgi-bin/view/Codev/ApachePasswords
return $user."\:{SHA}".encode_base64( Digest::SHA1::sha1($passwd) );
# the rest of this sub commented out.
# by David Levy, Internet Channel, 1997
# found at http://world.inch.com/Scripts/htpasswd.pl.html
...
}
If wanted, it needs applying to the passwd script and could be optional configured in using a variable in TWiki.cfg
-- MartinCleaver - 18 Jun 2001 | I | Attachment | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|
| | ChangePassword.txt | manage | 1.4 K | 14 Sep 2002 - 08:48 | AndreUlrich | the topic in Main web for change password |
| | ResetPassword.txt | manage | 1.2 K | 22 Jan 2001 - 19:56 | KlausWriessnegger | the topic in Main web for reset password |
| | TWiki20001201.password.tgz | manage | 3.7 K | 12 Mar 2001 - 14:49 | BruceDawson | Checks if authenticated user should change passwd. |
| | oopschangepasswd.tmpl | manage | 0.8 K | 22 Jan 2001 - 19:58 | KlausWriessnegger | change of password succeeded |
| | oopsnotwikiuser.tmpl | manage | 1.0 K | 22 Jan 2001 - 19:58 | KlausWriessnegger | a oops form telling the user that he mistyped(?) |
| | oopsresetpasswd.tmpl | manage | 0.9 K | 22 Jan 2001 - 19:59 | KlausWriessnegger | how to proceed to get password reset |
| | oopswrongpassword.tmpl | manage | 1.0 K | 22 Jan 2001 - 19:59 | KlausWriessnegger | the user mistyped his old pasword |
| | passwd | manage | 6.2 K | 14 Sep 2002 - 08:49 | AndreUlrich | perl script to change and reset password |