Main:AdminUser: Difference between revisions
oldwiki>ProjectContributor Imported from Foswiki (version 1) |
m 1 revision imported |
(No difference)
| |
Revision as of 10:46, 27 November 2025
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 !UserMapper that permits group maintenance, (!TopicUserMapping for example) it is recommended to include the %SYSTEMWEB%.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 [[[_1]][Installation Guide section on the internal admin]] for further help." args"%SYSTEMWEB%.InstallationGuide#InternalAdmin"}%"}%
%X% NOTE: If you lock yourself out of AdminUser during setup activities, never established a password, or have forgotten the password, See %SYSTEMWEB%.InstallationGuide#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 !ApacheLoginManager, you will need to log in as a valid user first.
%X% Do not add
AdminUserto your.htpasswdfile or other authentication system. You should only access theAdminUserby 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 theAdminUser!WikiName through the normal authentication process will not work, and will not acquire admin rights.
--- Related topics: %WIKIUSERSTOPIC%, AdminGroup, WikiGroups, [[%SYSTEMWEB%.AccessControl|AccessControl]]