Main:AdminUser
Wiki Administrator User
The Main:AdminUser allows you to login without needing to register a user, or to temporarily login as Main:AdminUser using the password set in configure, and then log back out to the same User and Group as before.
If your system is configured using a !Main:UserMapper that permits group maintenance, (!Main:TopicUserMapping for example) it is recommended to include the %SYSTEMWEB%.Main:AdminToggle topic to obtain admin rights.
%STARTSECTION{"sudo_login"}% %IF{"context admin_available" then="
How to login as Main:AdminUser
- Login as the internal Wiki administrator:
- %ADMINLOGIN%
- Logout from Administrator:
- click the Logout link"
else"%MAKETEXT{"There is no internal admin password set. See [[Main:[_1]][Installation Guide section on the internal admin]] for further help." args"%SYSTEMWEB%.Main:InstallationGuide#Main:InternalAdmin"}%"}%
%X% NOTE: If you lock yourself out of Main:AdminUser during setup activities, never established a password, or have forgotten the password, See %SYSTEMWEB%.Main:InstallationGuide#Main:InternalAdmin for information on configuring the internal admin password.. %ENDSECTION{"sudo_login"}%
Prerequisites
Security and Authentication -> Sessions : Use Client Sessions:must be enabled in configure (this is the default)Security and Authentication, -> Passwords : Internal Admin Password:must be set otherwise the internal admin user is automatically disabled. A password is not set by default.- If your Foswiki is configured to use !Main:ApacheLoginManager, you will need to log in as a valid user first.
%X% Do not add
Main:AdminUserto your.htpasswdfile or other authentication system. You should only access theMain:AdminUserby logging in with the the internal admin user _admin_ using the password set under the Passwords tab inbin/configurescript. Use the login link on this page, or log in directly with Template Login. Logging in with theMain:AdminUser!Main:WikiName through the normal authentication process will not work, and will not acquire admin rights.
--- Related topics: Main:%WIKIUSERSTOPIC%, Main:AdminGroup, Main:WikiGroups, [[Main:%SYSTEMWEB%.Main:AccessControl|AccessControl]]