Main:AdminUser: Difference between revisions
oldwiki>ProjectContributor Imported from Foswiki (version 1) |
m 1 revision imported |
||
| (15 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
or to temporarily login as {{PAGENAME}} using the password set in configure, and then log back out to the same User and Group as before. | or to temporarily login as {{PAGENAME}} 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. | 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"}% | %STARTSECTION{"sudo_login"}% | ||
| Line 12: | Line 12: | ||
** %ADMINLOGIN% | ** %ADMINLOGIN% | ||
* Logout from Administrator: | * Logout from Administrator: | ||
** click the [[%LOGOUTURL%|Logout link]]" | ** click the [[Main:%LOGOUTURL%|Logout link]]" | ||
else<code>"%MAKETEXT{"There is no ''internal admin'' password set. See [[[_1]][Installation Guide section on the internal admin]] for further help." args</code>"%SYSTEMWEB%.[[InstallationGuide]]#[[InternalAdmin]]"}%"}% | else<code>"%MAKETEXT{"There is no ''internal admin'' password set. See [[Main:[_1]][Installation Guide section on the internal admin]] for further help." args</code>"%SYSTEMWEB%.[[Main:InstallationGuide]]#[[Main:InternalAdmin]]"}%"}% | ||
'''%X% NOTE:''' If you lock yourself out of [[AdminUser]] during setup activities, never established a password, or have forgotten the password, | '''%X% NOTE:''' If you lock yourself out of [[Main:AdminUser]] during setup activities, never established a password, or have forgotten the password, | ||
See %SYSTEMWEB%.[[InstallationGuide]]#[[InternalAdmin]] for information on configuring the | See %SYSTEMWEB%.[[Main:InstallationGuide]]#[[Main:InternalAdmin]] for information on configuring the | ||
''internal admin'' password.. | ''internal admin'' password.. | ||
%ENDSECTION{"sudo_login"}% | %ENDSECTION{"sudo_login"}% | ||
| Line 23: | Line 23: | ||
* <code>Security and Authentication -> Sessions : Use Client Sessions:</code> must be enabled in configure (this is the default) | * <code>Security and Authentication -> Sessions : Use Client Sessions:</code> must be enabled in configure (this is the default) | ||
* <code>Security and Authentication, -> Passwords : Internal Admin Password:</code> must be set otherwise the ''internal admin user'' is automatically disabled. A password is ''not'' set by default. | * <code>Security and Authentication, -> Passwords : Internal Admin Password:</code> 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. | * If your Foswiki is configured to use ![[Main:ApacheLoginManager]], you will need to log in as a valid user first. | ||
<blockquote class="foswikiAlert"> | <blockquote class="foswikiAlert"> | ||
%X% Do not add <code>[[AdminUser]]</code> to your <code>.htpasswd</code> file or other authentication system. You should only access the <code>[[AdminUser]]</code> by logging in | %X% Do not add <code>[[Main:AdminUser]]</code> to your <code>.htpasswd</code> file or other authentication system. You should only access the <code>[[Main:AdminUser]]</code> by logging in | ||
with the the ''internal admin user'' _''admin''_ using the password set under the Passwords tab in <code>bin/configure</code> script. Use the login link on this page, or log in directly with | with the the ''internal admin user'' _''admin''_ using the password set under the Passwords tab in <code>bin/configure</code> script. Use the login link on this page, or log in directly with | ||
Template Login. Logging in with the <code>[[AdminUser]]</code> ![[WikiName]] through the normal authentication process will not work, and will not acquire admin rights. | Template Login. Logging in with the <code>[[Main:AdminUser]]</code> ![[Main:WikiName]] through the normal authentication process will not work, and will not acquire admin rights. | ||
</blockquote> | </blockquote> | ||
--- | --- | ||
'''Related topics:''' [[%WIKIUSERSTOPIC%]], [[AdminGroup]], [[WikiGroups]], [[%SYSTEMWEB%.[[AccessControl]]|AccessControl]] | '''Related topics:''' [[Main:%WIKIUSERSTOPIC%]], [[Main:AdminGroup]], [[Main:WikiGroups]], [[Main:%SYSTEMWEB%.[[Main:AccessControl]]|AccessControl]] | ||
Latest revision as of 12:29, 28 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 !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]]