Hello, 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? Hlavounek
hlavounek@centrum.cz wrote:
Hello, 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?
Yes, read doc/SECURITY.TXT in your Zope software home, you need to set up and emergency user in an 'access' file... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
There is zpasswd.py in the bin directory. Use it to create an emergency user. Good luck. --- hlavounek@centrum.cz wrote:
Hello, 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?
Hlavounek
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
hlavounek@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
participants (4)
-
Chris Withers -
Dieter Maurer -
hlavounek@centrum.cz -
Infor Gates