[Zope] Re: delete a folder without ZMI?

Jens Vagelpohl jens@zope.com
Sun, 25 Aug 2002 22:06:14 -0400


the emergency user is explained in the file named "SECURITY.txt" in the 
doc directory off of the root of your zope install.

or, to make it even simpler, cd to your zope root directory and do 
this::

echo "superuser:123" >>access

this will generate the "access" file and after restarting zope you can 
log in as "superuser" with password "123". to get rid of this login 
after you're done simply delete the "access" file and restart zope 
again.

jens


On Sunday, Aug 25, 2002, at 17:22 US/Eastern, Patrick Price wrote:

> As usual, finding the right Zope documentation is a nightmare.  I have 
> no idea where to find documentation on the "Emergency User" in Zope
>
> I searched Google for Administrator's Guide, and find some obscure 
> links.
>
> I follow a link and find the www.zope.org/DocProjects/AdminGuide page.
>
> It then directs me to look at 
> http://sourceforge.net/projects/zope-admin/  and I get a 404 "Page not 
> found"
>
> Zope is showing itself to be a real pain in the ass!  I can still code 
> stuff faster in PHP than messing around with Zope and its complexity 
> and problems.  :-(
>
> Thanks for trying to help, I would give you the traceback but there 
> isn't one on the page with the error I gave you.
> .
>
> Jens Vagelpohl wrote:
>
>> you misconfigured the LDAP settings. this is not a zope error, it is 
>> emitted by the LDAPUserFolder (which takes it from the python-ldap 
>> module). since the user folder is consulted on any access to its 
>> container you will get this error until you fix the settings.
>>
>> try logging in as the emergency user and reconfigure the 
>> LDAPUserFolder. test your settings as the emergency user by looking 
>> at the Groups tab (do you see any groups?) and search for user 
>> records on the users tab (does it find any?).
>>
>> i would be interested in the full traceback traceback you are 
>> currently getting.  the user folder is misbehaving slightly. instead 
>> of raising the exception it should really just not authenticate the 
>> user and hand authentication off to the next user folder up. if you 
>> can give me that traceback i can fix this problem for the next 
>> release.
>>
>> jens
>>
>>
>> On Sunday, Aug 25, 2002, at 13:33 US/Eastern, Patrick Price wrote:
>>
>>> I added an ldpauserfolder as a subfolder and got an error:
>>>
>>> Zope has encountered an error while publishing this resource.
>>>
>>> Error Type: NO_SUCH_OBJECT
>>> Error Value: {'desc': 'No such object', 'info': ''}
>>>
>>> yet it was created anyway.  Now when I try to open the folder that 
>>> this folder is contained in by clicking its parent foldername in the 
>>> ZMI, I cannot see my other folders, just this error.
>>>
>>> The "Delete" and other ZMI buttons don't appear so I cannot delete 
>>> this folder.
>>>
>>> -Patrick Price
>>>
>>
>>
>> _______________________________________________
>> Zope maillist  -  Zope@zope.org
>> http://lists.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce
>> http://lists.zope.org/mailman/listinfo/zope-dev )
>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )