[pmwiki-users] AuthUser and admin password
Thomas -Balu- Walter
list+pmwiki-users at b-a-l-u.de
Fri Sep 29 03:40:37 CDT 2006
On Wed, Sep 27, 2006 at 07:29:48AM -0500, Patrick R. Michaud wrote:
> On Wed, Sep 27, 2006 at 02:01:31PM +0300, Mark Trumpold wrote:
> > 1. I added the include_once("$FarmD/scripts/authuser.php"); line in the
> > config.php file on my server. But I cant seem to get the site.authUser page
> > or form
> >
> > 2. I put a $DefaultPasswords['john'] = crypt('john'); for a site admin
> > password. Nothing seems to happen when I make new edit pages, I get no
> > password prompt etc
>
> 1. Are the Site.* pages available? They normally come in the
> wikilib.d/ directory. In particular, you should be able to
> view Site.AuthUser and Site.AuthForm in the wiki.
>
> 2. To set a site admin password, use
>
> $DefaultPasswords['admin'] = crypt('john');
iirc the order is important - $AuthUser['balu'] has to be set before
loading the authuser.php script
$AuthUser['balu'] = crypt('supersecret');
include_once("$FarmD/scripts/authuser.php");
$DefaultPasswords['admin'] = 'id:balu';
Balu
More information about the pmwiki-users
mailing list