login community faq

Hallo,

I'm searching a long time for a solution of a simple thing: How can I change the admin password in Plone 4 / Zope?

When I go to the zope/manage site and look inner acl-user-folder I can't find a way for changing the password.

Please excuse my poor english and the circumstance that I'm not familiar with Plone...

Thanks a lot for your help!

Claus

asked Jan 23 '12 at 01:29

mutetella's gravatar image

mutetella
134

edited Jan 23 '12 at 01:31


Your 'admin' user and the users that you create via "instance adduser" are created in acl_users at the root of Zope, not acl_users within your Plone site.

The reason you're not seeing those users is that you have virtual_hosting mappings at the root of your ZMI that direct all requests for domain.com and www.domain.com to the root your Plone site, so if you log into Plone and then go to the ZMI from there, you're not actually at the root of the Zope, so you're not seeing the correct acl_users.

To fix this, create a new site in the WebFaction control panel, using a subdomain like "admin.your_username.webfactional.com", and add your Plone app to it (this won't affect your existing site).

Wait a few minutes after making that change, then go to http://admin.your_username.webfactional.com/manage_main and log in as your admin user.

Once you're logged in there, you'll see all of the top-level Zope objects, like Control_Panel and acl_users. Click acl_users, then click users, and you'll see your admin user and the other users that you've created via "instance adduser". Click the "Password" link next to whatever user to change their password.

Hope that helps!

answered Jan 23 '12 at 09:15

seanf's gravatar image

seanf ♦♦
56541220

It works.... wonderful! You make my day, thanks a lot!!!

But I don't understand, why I can't find this information on any side which I was combed through... Am I the only one with this problem?

However... 'admin' is no longer a ghost for me... ;-)

Claus

(Jan 24 '12 at 03:17) mutetella mutetella's gravatar image

You can update the admin password via the following steps:

  1. Open the Zope Management Interface (go to http://example.com/manage)
  2. Click the "acl_users" item
  3. Click the "users" item
  4. Click the "Password" link next to the "admin" user
  5. Update the password here
  6. Optional: update the ~/webapps/plone/zinstance/adminPassword.txt file in case you forget it.

Note: You should also be able to set a password manually (if you have forgotten the admin password) using zpasswd.py, but the specifics depend heavily on the zope version.

Hope that helps!

answered Jan 23 '12 at 03:21

ryans's gravatar image

ryans ♦♦
28411420

edited Jan 23 '12 at 03:21

This is exactly, what I have try to do. However when I click "acl_users" -> "source_users" the list contains only new added users but no user 'admin' which will created automatically during the plone/zope installation.

What is wrong?

(Jan 23 '12 at 05:08) mutetella mutetella's gravatar image

You could try adding the admin user (or a new manager user) using one of the tips in this page.

(Jan 23 '12 at 05:19) iliasr ♦♦ iliasr's gravatar image

Ok, adding (overwriting) an user 'admin' don't work cause this user already exists (would be so nice and easy...;-). Ok, I have add a new user via

~/webapps/plone/zinstance/bin/instance adduser boss mypassword

Now I can logging into 'domain/manage' as user 'boss' but both, the new user 'boss' and the init user 'admin', aren't listet in acl_users-folder.

Where are this users?? I can logging in as 'boss' and 'admin', but I can't see or change anything...

(Jan 23 '12 at 05:54) mutetella mutetella's gravatar image

Hi,

You can try logging in at: http://example.org/aq_parent/acl_users/manage

This should be the root ZMI for Zope, and you should be able to edit the admin password there.

(Jan 23 '12 at 06:28) todork todork's gravatar image

Thanks for the previous help... but nothing solve my problem... :-(

It seems that the init-user 'admin' and all other users, I create via ./bin/instance adduser or ./bin/plonectl adduser don't exist. Only users that created directly on the plone-site or via acl_users -> source_users -> Add a user on the domain/manage-site will be listed and can be modified.

What about user 'admin' (and in the meantime 'boss' & 'testuser')... :-(

(Jan 23 '12 at 08:18) mutetella mutetella's gravatar image

Mutella,

What you have done wrong is you are login to the virtual site rather than in the Zope Management Interface (ZMI). (You do not see the Source_users in ZMI) Ryan have already answered the steps for you.

Below is the full path in mine to edit the Admin as I have installed Plone directly on my Server eg http://mysite:8080/acl_users/users/manage_users/acl_users/users/manage_users

MUTELLA:

" This is exactly, what I have try to do. However when I click "acl_users" -> "source_users" the list contains only new added users but no user 'admin' which will created automatically during the plone/zope installation. What is wrong?

answered Oct 05 '12 at 20:30

schutech's gravatar image

schutech
11

edited Oct 05 '12 at 20:34

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited