[Zope-dev] Using the Zope debugger (authenticating)

Michel Pelletier michel@digicool.com
Sun, 22 Oct 2000 12:56:30 -0700


"Morten W. Petersen" wrote:
> 
> How do I authenticate myself when using the Zope debugger?
> (I've seen this before I think, but I couldn't find it)

Pass the 'u' argument:

[michel@heinlein python]$ python
Python 1.5.2 (#1, Sep 17 1999, 20:15:36)  [GCC egcs-2.91.66
19990314/Linux (egcs- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import ZPublisher
>>> import Zope
>>> ZPublisher.Zope('/manage_main', u="superuser:123")
Status: 200 OK

-Michel