Current

This document is valid for the current version of Plone.

Changing the Admin Password

by Alan Runyan last modified Mar 27, 2012 06:21 PM
How to change the password of the default administrator user.

When installing Plone using one of the provided installers (i.e. not installing from source), a default installation contains a single manager user called admin. This user has an automatically generated password, and is actually a Zope Manager. As such, this user is managed not by Plone, but by Zope itself. If you set up Zope and Plone manually, you will have created an administrator user during installation.

Regular users inside the Plone site can change passwords via their preferences screen. The procedure described in this howto is only necessary if you want to change the password for the root admin user.

Assuming you have a user called admin, here is how to change the password:

  • Enter the ZMI root: http://localhost:8080/manage
  • If you are running Zope on a different server, substitute its name for localhost.
  • Click on the acl_users folder in the root
  • In there, click the "users" User Manager
  • There you should see the "admin" user listed, click the password link and update the password.
  • Close all browser windows
  • Start your browser again
  • Log in with the new password

This is necessary because you can not simply log out from HTTP authentication in a browser. Zope does provide an unviewable page that you can visit in order to invalidate your HTTP credentials: browse to /manage_zmi_logout and hit cancel when prompted. This will also log you out.

If you installed Plone from an installer, and you are wondering what the default password is, have a look for the file admin-password.txt under your default Plone instance installation directory.


Contribute

Something wrong or out of date? Anybody can edit or create a new article in the knowledge base. Simply create an account on this site, log in, and click the Edit button to contribute.