Re: [Zope] Erase acl_users

2005-12-08 Thread Infor Gates
There is zpasswd.py in the bin directory. Use it to
create an emergency user.

Good luck.

--- [EMAIL PROTECTED] 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 
___
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 )


Re: [Zope] Erase acl_users

2005-12-08 Thread Chris Withers

[EMAIL PROTECTED] 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

___
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 )


Re: [Zope] Erase acl_users

2005-12-08 Thread Dieter Maurer
[EMAIL PROTECTED] 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
___
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 )