|
Main /
Password'From the documentation Setting site-wide passwords for PmWikiOne 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'); |