<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<meta charset="utf-8">
<pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Hi folks!
Due to a variety of work pressures I am only now able to revisit this.
I have done as suggested below and changed my default password for admin.
I have commented out the edit password.
I can now edit the wiki happily.
Could I ask if someone could advise how to test the admin password?
On Mon, Mar 25, 2013 at 12:05 PM, Tom Zunder <<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">tom at zunder.org.uk</a>> wrote:
><i> I have a pmwiki that I ran from 2005 to 2009. The last version was using
</i>><i> 2.11
</i>><i> It is time to restore it, but when I do so none of the pages can be edited
</i>><i> using either of the passwords in the config file.
</i>><i> I can't remember if I set group or page attribute passwords nor can I
</i>><i> remember what they'd be.
</i>><i>
</i>><i> Is there a way to strip out the passwords and start again with the wiki
</i>><i> pages and rebuild security?
</i>><i> It's all sitting on a server on my home network right now (a LAMP server on
</i>><i> an Ubuntu box) so I can mess around until I get it right.
</i>><i>
</i>><i> If anyone can help I can provide more or different details.
</i>
If the only passwords in use on your wiki were the ones set in
config.php, it should be quite straight-forward. If you've used
AuthUser, and have per-group and/or per-page permissions, it might be
a bit harder.
Go ahead and change at least the admin password in your config.php
file, then try logging in with it to edit things.
$DefaultPasswords['admin'] = crypt('mysekritpassword');
As you're preparing your wiki, keeping it in-house, you might want to
go ahead and comment out or delete the other lines setting
$DefaultPasswords, and if you've included script/authuser, comment
that out as well.
Let us know if this works!
</pre>
<br class="Apple-interchange-newline">
<pre class="moz-signature" cols="72">--
Tom Zunder
Need some space in the cloud?
<a class="moz-txt-link-freetext" href="https://one.ubuntu.com/referrals/referee/395765/">https://one.ubuntu.com/referrals/referee/395765/</a>
<a class="moz-txt-link-freetext" href="http://www.zunder.org.uk">http://www.zunder.org.uk</a>
<a class="moz-txt-link-freetext" href="http://www.gamingtavern.eu">http://www.gamingtavern.eu</a>
<a class="moz-txt-link-freetext" href="http://tzunder.livejournal.com">http://tzunder.livejournal.com</a>
"Ni Dieu, ni Maitre"
</pre>
</body>
</html>