[Zope] Erase acl_users

Dieter Maurer dieter at handshake.de
Thu Dec 8 13:49:17 EST 2005


hlavounek at centrum.cz wrote at 2005-12-7 20:14 +0100:
>I have a problem. I erase object acl_users in root directory and now I can´t login in zope. Zope have site error on http://locahost:8080/
>
>An error was encountered while publishing this resource. 
>
>Error Type: AttributeError
>Error Value: acl_users
>
>it´s possible create object acl_users?

Access your Zope via an interactive interpreter (it must not be running
as a server or you need ZEO).
Under *nix, you use "bin/zopectl debug" for this.
If necessary, search the archive for a batch script that does this under
Windows.

In the interpreter call:

   app.manage_addUserFolder()
   app.acl_users._doAddUser('yourManager', 'hisPassword', ['Manager'],())
   get_transaction().commit()

Exit the interpreter.

You have again a UserFolder with
Manager 'yourManager' and password 'hisPassword'.

-- 
Dieter


More information about the Zope mailing list