[pmwiki-users] Passwords

Patrick R. Michaud pmichaud at pobox.com
Sat Jul 2 15:15:56 CDT 2005


On Sat, Jul 02, 2005 at 04:00:35PM -0400, Henrik Bechmann wrote:
> In the (no doubt) really really stupid question department:
> 
> I've set up a wikifarm on my site (www.dufferinpark.ca), with one 
> "field" so far. I've created a template, and so far so good, actually 
> quite elegant.
> 
> Now, in farmconfig.php I have the line
> 
> $DefaultPasswords['edit'] = "a";
> 
> Sure enough, when I try to edit a page, I am challenged for a password. 
> I enter "a", but the password is not accepted.

PmWiki stores all of its passwords as encrypted strings, thus if
you want a password of "a" you have to do:

    $DefaultPasswords['edit'] = crypt('a');

See http://www.pmwiki.org/wiki/PmWiki/PasswordsAdmin

Pm




More information about the pmwiki-users mailing list