Recent Changes - Search:

PmWiki

pmwiki.org

edit SideBar

Password

'From the documentation

Setting site-wide passwords for PmWiki

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