This question about Authentication or Authorisation: Answered
How i can reset password admin for /bin/configure. (Foswiki-1.0.10, Wed, 08 Sep 2010, build 8969, removed string
$Foswiki::cfg{Password} = 'xxxxxx'
don't help me (in latest version reset worked))
Updated for Foswiki 2.x
In Foswiki 2.x, the admin
password is no longer set/reset as part of the bin/configure
save dialog.
- If you have access to configure via another ID:
- Navigate to
bin/configure
"Security and Authentication" tab, Passwords sub-tab.
- Set the new password in the
{Password}
key and then
- save the configuration (button in upper right).
- If you are locked out from
bin/configure
, you'll need to use the server command line to set the password.
For older versions of Foswiki
There are possibly two different password reset's required.
- Prompt for user/password from the browser when accessing bin/configure
- This password to access configure is controlled by the Apache (or web server) configuration, and a
.htpasswd
or .htdigest
type file. You'll need to look at your web server configuration to determine how bin/configure
has been protected. Look for the <FilesMatch "^(configure.*)$"> = section in the apache configuration for things like =Require
, Satisfy
, and possibly an AuthUserFile
. That will give more information on what and where to do the reset.
- Prompt from
bin/configure
when saving settings - This is the reset that is done by removing
$Foswiki::cfg{Password}
None of this has changed between Foswiki 1.0.x and Foswiki 1.1.x, so the reset process should be the same.
--
GeorgeClark - 28 Mar 2013