[pmwiki-users] numeric passwords

Patrick R. Michaud pmichaud at pobox.com
Wed Jul 19 09:55:05 CDT 2006


On Wed, Jul 19, 2006 at 01:50:10PM +0200, Christophe David wrote:
>      >    It seems that (on my system ?) PmWiki passwords cannot be purely
>      numeric :
>      >    $DefaultPasswords['read'] = crypt('A12345');  works OK
>      >    while
>      >    $DefaultPasswords['read'] = crypt('12345');  does not 
> 
>      It's got to be a limitation of the PHP crypt() function; AFAIK PmWiki
>      doesn't impose any restriction on passwords.
>      What version of PHP, and what OS?
>      Pm
> 
>    I notice the same behaviour on PHP 4.4.0 FreeBSD and Windows.
> 
>    It happens also when you set the password with action=attr : if it
>    contains only digits, the password does not work.
> 
>    Any clue ?

On your system(s), what value do you get when doing
?action=crypt with the password '12345'?

Pm




More information about the pmwiki-users mailing list