%META:TOPICINFO{author="TWikiContributor" date="1111931141" format="1.0" version="1"}%
---+ TWiki Administrator User

The %TOPIC% has been added to TWiki 4.2.0 to make it possible to login without needing to create a TWiki User, or to temporarily login as %TOPIC%, 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 TWikiAdminGroup, and you will be able to quicky change to Admin (and back to your user) only when you need to.

%STARTSECTION{"sudo_login"}%
   * If your TWiki is configured to use !ApacheLogin, you first need to log in as a normal registered user
   * Login as the internal TWiki administrator using the [[%SCRIPTURL{login}%?sudo=sudo;origurl=%SCRIPTURL{"view"}%/%BASEWEB%/%BASETOPIC%][internal admin login]] (use the username already suggested and the password set in configure).
   * to logout from Administrator, click the [[%LOGOUTURL%][Logout link]].
%ENDSECTION{"sudo_login"}%

---+++ Prerequisites
   * =Security Setup : Sessions : {UserClientSession}= needs to be enabled in configure
   * a configure password (otherwise the Admin login is automatically disabled.)
   * If your TWiki is configured to use !ApacheLoginManager, you will need to log in as a valid user first.
   
__Related topics:__ %WIKIUSERSTOPIC%, TWikiAdminGroup, TWikiGroups, %SYSTEMWEB%.TWikiAccessControl
---
__%X% NOTE:__ If you lock yourself out of <nop>TWikiAdminUser 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 =$TWiki::cfg{Password}= and then set it again by saving your settings in =configure=.


