Recent Changes - Search:

PmWiki

pmwiki.org

edit SideBar

Password

Main.Password History

Hide minor edits - Show changes to markup

May 07, 2006, at 04:19 AM by 70.136.92.23 -
Changed lines 3-4 from:

Setting site-wide passwords

to:

Setting site-wide passwords for PmWiki

May 07, 2006, at 04:18 AM by 70.136.92.23 -
Changed line 13 from:

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

to:
 $DefaultPasswords['edit'] = crypt('edit_password');
May 07, 2006, at 04:18 AM by 70.136.92.23 -
Added lines 1-13:

'From the documentation

Setting site-wide passwords

One of the first things an admin should do is set an admin password for the site. This is done via a line like the following in the local/config.php file:

    $DefaultPasswords['admin'] = crypt('secret_password');

Note that the crypt() call is required for this -- PmWiki stores and processes all passwords internally as encrypted strings. See the crypt section below for details about eliminating the cleartext password from the configuration file.

To set the entire site to be editable only by those who know an "edit" password, add a line like the following to local/config.php:

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

Edit - History - Print - Recent Changes - Search
Page last modified on May 07, 2006, at 04:19 AM