Question
Yup, this is a newbee style question... Its been many months since I was last allowed to work on TWiki and now can't remember how to log into Configure (prompts for user/password and I don't have it). I am the system administrator on this linux server and have root... but have no idea how to reset the password to the twiki account that manages
http://example.com/twiki/bin/configure... How do I reset it or temporarily do away with the authentication so I can run Configure (for enabling plugins)?
Environment
--
JeffreyLovretich - 28 Aug 2007
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
Is a way around this going into LocalSite.cfg and manually entering a line to enable a plugin? Such as...
$TWiki::cfg{Plugins}{HeadlinesPlugin}{Enabled} = 1;
And ensure all ownerships and permissions are good from the TWiki home directory on down?
--
JeffreyLovretich - 28 Aug 2007
To remove the password, simply remove the
$TWiki::cfg{Password} setting in
lib/LocalSite.cfg. It will ask you to enter a new password the next time you save settings in configure.
--
PeterThoeny - 29 Aug 2007
I already did that as well and it still prompts for a user and password and it will not accept anything I type in. If I cancel, it goes to a registration page and in the end, will not let me register.
--
JeffreyLovretich - 29 Aug 2007
It looks like the configure script itself is under authentication. Check the Apache configuration and temporarily remove the auth for the configure script. Once you have yourself registered in TWiki you can put back the auth for the configure script. Example, assuming basic auth:
<FilesMatch "configure.*">
require user JeffreyLovretich
</FilesMatch>
--
PeterThoeny - 31 Oct 2007