[Plone-Users] How to change the admin password in Plone 3.x

216 views
Skip to first unread message

dustinh

unread,
Jun 28, 2010, 5:45:18 PM6/28/10
to plone...@lists.sourceforge.net

I'm currently trying to change the password for the admin-account in my
Plone-instance.
I was following the directions at
http://plone.org/documentation/kb/changing-the-admin-password, but
unfortunately, those just apply to Plone 2, as it seems.

At least, the admin-account does not show in the folder "acl_users" in my
ZMI.

Any help would be appreciated.

--
View this message in context: http://plone.293351.n2.nabble.com/How-to-change-the-admin-password-in-Plone-3-x-tp5232819p5232819.html
Sent from the General Questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Plone-Users mailing list
Plone...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users

Marcos Romero

unread,
Jun 28, 2010, 6:35:33 PM6/28/10
to dustinh, plone...@lists.sourceforge.net
Hi

If you are able to log in as admin into your Zope instance (typically
http://localhost:8080/manage) you can go there to acl_users and then
change password of your Zope admin user.

Remember, not Plone site's acl_users but Zope root's one.

The typicall url for doing this should be:
http://localhost:8080/acl_users/users/manage_users?user_id=admin&passwd=1

Regards

--
Marcos F. Romero
Responsable de Desarrollo
Inter-Cultura

marcos...@inter-cultura.com
www.inter-cultura.com
+54 11 4542-8299

dustinh

unread,
Jun 29, 2010, 5:58:52 AM6/29/10
to plone...@lists.sourceforge.net

Okay, this is definately the problem, I didn't know there were two different
ZMIs.
I just tested it with a clean install of Plone.

But somehow, I can't access the Zope instance on my site.
http://localhost:8080/manage always directs me to the Plone ZMI and so does
the button inside the Plone Controller...

Any ideas what could cause this?
--
View this message in context: http://plone.293351.n2.nabble.com/How-to-change-the-admin-password-in-Plone-3-x-tp5232819p5234356.html

Marcos Romero

unread,
Jun 29, 2010, 6:42:36 AM6/29/10
to dustinh, plone...@lists.sourceforge.net
> Okay, this is definately the problem, I didn't know there were two different
> ZMIs.
There aren't. ZMI is a sort-of interface for the backend.

> But somehow, I can't access the Zope instance on my site.
> http://localhost:8080/manage

If your Zope instance is in listening at 8080 port in your localhost,
then the URL above is Zope's root ZMI, not Plone's

> always directs me to the Plone ZMI and so does
> the button inside the Plone Controller...

What Plone Controler?

Anyway, if you forgot or don't have access to the original admin
password you can run this command in your buildout directory:

./bin/instance adduser new_user new_password

It will create a new admin user, so you'll be able to log in back to
your Zope instance, set the original admin password and then, remove
the new_user.

Regards


--
Marcos F. Romero
Responsable de Desarrollo
Inter-Cultura

dustinh

unread,
Jun 29, 2010, 7:38:44 AM6/29/10
to plone...@lists.sourceforge.net

> What Plone Controler?

That little application for Windows, where you can start/stop the service
etc.

It's not that I forgot the password, I can login as admin just fine. I just
need to _change_ the password.

I THINK I just located the problem.
The person, who originally configured the server, must have set up the
VirtualHostMonster to redirect all incoming requests to /localhost/Plone/.
I just tested this on a fresh install of Plone, which lead to the same
problem: I can't connect to the ZMI-root anymore.

So I guess this is the source of my problem, but I have no solution for it.
As I cannot enter the ZMI-root, I cannot access that virtual host monster to
change it's configuration.
Is there a way to manually edit the ZODB, to clear that particular setting?

--
View this message in context: http://plone.293351.n2.nabble.com/How-to-change-the-admin-password-in-Plone-3-x-tp5232819p5234634.html

Yuri

unread,
Jun 29, 2010, 8:23:56 AM6/29/10
to plone...@lists.sourceforge.net
Il 29/06/2010 13:38, dustinh ha scritto:
>
>> What Plone Controler?
>>
> That little application for Windows, where you can start/stop the service
> etc.
>
> It's not that I forgot the password, I can login as admin just fine. I just
> need to _change_ the password.
>
> I THINK I just located the problem.
> The person, who originally configured the server, must have set up the
> VirtualHostMonster to redirect all incoming requests to /localhost/Plone/.
> I just tested this on a fresh install of Plone, which lead to the same
> problem: I can't connect to the ZMI-root anymore.
>
> So I guess this is the source of my problem, but I have no solution for it.
> As I cannot enter the ZMI-root, I cannot access that virtual host monster to
> change it's configuration.
> Is there a way to manually edit the ZODB, to clear that particular setting?
>
>
http://www.zope.org/Members/4am/SiteAccess2/info

and similar. Try also to access by ip and port, to disable any rewriting.

Daniel Gomez

unread,
Jun 29, 2010, 9:08:04 AM6/29/10
to dustinh, plone...@lists.sourceforge.net
Access from the IP of the server, not from the URL.

Marcos Romero

unread,
Jun 29, 2010, 11:12:34 AM6/29/10
to dustinh, plone...@lists.sourceforge.net
Hi Dustin

You can also enter to this URL:
http://yoursite.com/aq_parent/acl_users/users/manage_users?user_id=admin&passwd=1

Notice the "aq_parent" part to go to the acquisition parent of your
plone site: the Zope application root.

Regards

--
Marcos F. Romero
Responsable de Desarrollo
Inter-Cultura

dustinh

unread,
Jun 29, 2010, 3:18:24 PM6/29/10
to plone...@lists.sourceforge.net

Thank you all for the support so far.
Unfortunately, none of that helps.

I tried the Domain-name, localhost (AND 127.0.0.1, though it shouldn't make
a difference) and also the raw IP. I'm always getting redirected to the
Plone-Object inside my Zope-installation.

If I use the URL you mentioned
(http://yoursite.com/aq_parent/acl_users/users/manage_users?user_id=admin&passwd=1
- tried that also with the raw IP), I only get the standard Plone "We’re
sorry, but that page doesn’t exist… "-page. :|

Does that mean I'm out of luck, as I cannot edit the ZODB directly to clear
that rewrite? I have no idea what the person put in there, when he set up
the instance. I'm just the guy who has to clean up the mess now ;).

Kind regards
--
View this message in context: http://plone.293351.n2.nabble.com/How-to-change-the-admin-password-in-Plone-3-x-tp5232819p5236271.html

Marcos Romero

unread,
Jun 29, 2010, 3:27:34 PM6/29/10
to dustinh, plone...@lists.sourceforge.net
Hi Dustin

Did you try with ./bin/instance adduser as I suggested before?

Why you don't have access to the guy who configured the web server?
Can't you just ask him to provide you a direct way of accessing the
site?

Can you send us the site url?

Regards

--
Marcos F. Romero
Responsable de Desarrollo
Inter-Cultura

dustinh

unread,
Jun 29, 2010, 4:01:15 PM6/29/10
to plone...@lists.sourceforge.net

Hi Marcos,

> Did you try with ./bin/instance adduser as I suggested before?

I still can login to the site just fine, so I don't need another
admin-account.
It's just that I have to change the password for the Zope-Admin, which is
only changeable through the ZMI.

> Why you don't have access to the guy who configured the web server?
>Can't you just ask him to provide you a direct way of accessing the
> site?

The guy who setup the site left before I joined the company. Also, I
seriously doubt he knew what he was doing there ;).

> Can you send us the site url?

Sure, the site in question is: www.s-cube-network.eu

Regards

--
View this message in context: http://plone.293351.n2.nabble.com/How-to-change-the-admin-password-in-Plone-3-x-tp5232819p5236447.html

Marcos Romero

unread,
Jun 29, 2010, 7:20:40 PM6/29/10
to dustinh, plone...@lists.sourceforge.net
So Dustin

My final question is.

Can you login with your Zope admin password to this URL?

http://www.s-cube-network.eu/aq_parent/acl_users/manage

Regards


--
Marcos F. Romero
Responsable de Desarrollo
Inter-Cultura

Reply all
Reply to author
Forward
0 new messages