Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RHEL4U4
Web server: Apache 2.0
Perl version: I have 42 Perl RPMs loaded, no idea which one you want...
Client OS: Windows XP Pro SP2 & RHEL*u*
Web Browser: FireFox 2.0 & IE6.0/7.0
Categories: Plugins

-- JeffreyLovretich - 28 Aug 2007

Answer

ALERT! 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

 
Change status to:
Topic revision: r5 - 2007-10-31 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.