Wiki Administrator User

The AdminUser allows you to login without needing to register a user, or to temporarily login as AdminUser using the password set in configure, and then log back out to the same User and Group as before.

This means it is no longer necessary to add yourself to the AdminGroup, and you will be able to quickly change to Admin User (and back to your user) only when you need to.

How to login as AdminUser

ALERT! NOTE: If you lock yourself out of AdminUser during setup activities or have forgotten the configure password, you can unset the configure password by editing the lib/LocalSite.cfg file and deleting the line that starts with Foswiki::cfg{Password} and then set it again by saving your settings in configure.

Prerequisites

  • Security Setup : Sessions : {UserClientSession} needs to be enabled in configure
  • a configure password (otherwise the Admin login is automatically disabled.)
  • If your Foswiki is configured to use ApacheLoginManager, you will need to log in as a valid user first.

ALERT! Do not add AdminUser to your .htpasswd file or other authentication system. You should only access the AdminUser by logging in with the special user and password set in the first save in the bin/configure script. Use the sudo feature, or log in directly with Template Login. Logging in with the AdminUser WikiName through the normal authentication process will not acquire admin rights.


Related topics: WikiUsers, AdminGroup, WikiGroups, AccessControl

Topic revision: r1 - 09 Jan 2009, ProjectContributor
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback