|
Main /
PasswordMain.Password HistoryHide minor edits - Show changes to markup May 07, 2006, at 04:19 AM
by
- Changed lines 3-4 from:
Setting site-wide passwordsto:
Setting site-wide passwords for PmWikiMay 07, 2006, at 04:18 AM
by
- Changed line 13 from:
$DefaultPasswords['edit'] = crypt('edit_password'); to:
$DefaultPasswords['edit'] = crypt('edit_password'); May 07, 2006, at 04:18 AM
by
- Added lines 1-13:
'From the documentation Setting site-wide passwordsOne 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'); |