Tags:
create new tag
view all tags

Question

Well there's at least one wingnut in every group who is too lazy to look before he leaps...

I added myself to the admin group and then proceeded to allow only that group to edit the preferences page. Problem is, there's no user authentication set up yet. Ooops. Locked out. I recommend a bold, red warning to people not to do this, right at that point in the preferences page.

I run the server, so what file do I edit and which lines? I have these two which are different:

/usr/local/www/twiki/data/Main/TWikiPreferences.txt

/usr/local/www/twiki/data/Main/TWikiPreferences.txt,v

Thanx, Jeff

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: FreeBSD
Web server: Apache 2.053
Perl version: 5.8.5
Client OS: XP
Web Browser: Firefox
Categories: Permissions

-- JeffColter - 28 Feb 2005

Answer

Edit just the .txt file. Once authentication is working OK you can edit the site preferences with the browser again to bring the .txt,v history file in sync with the .txt text file.

-- PeterThoeny - 01 Mar 2005

I edited the TWikiPreferences.txt file so it looks like this:

. *Set ALLOWTOPICCHANGE =

. *Set ALLOWTOPICRENAME =

But it appeared as if these two statements were inside comment brackets (which I can't display here cause it must be part of Wiki code or something)

I deleted the ADMINGROUP after the "=" , but it still won't let me edit the page.

Funny but that .txt file doesn't contain anything but those two variables. Where's the rest of the preferences?

I just want to go back to the beginning so Guest can edit the preferences page again. Then I'll get user authorization functioning.

-- JeffColter - 01 Mar 2005

There are two site wide system settings: TWiki.TWikiPreferences, and Main.TWikiPreferences which can overload settings in the former one. You do not need to change the one in the Main web. Do all system settings in the TWiki web's TWikiPreferences. If you can't edit, make sure you are authenticated properly, you are in the TWikiAdminGroup, and that the ALLLOWTOPICCHANGE bullet is set to that group. Edit TWikiPreferences.txt from the shell level if you locked yourself out.

-- PeterThoeny - 06 Apr 2005

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-04-06 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.