[Zope] restore acl_users after removal
Roberto Lupi
roberto.lupi at gmail.com
Mon Nov 1 05:03:25 EST 2004
On Mon, 1 Nov 2004 02:18:43 +0100, Jonas Meurer <jonas at freesources.org> wrote:
> On 31/10/2004 Dennis Allison wrote:
> > Use the emergency login-
> >
> > create a file named access in the zope root directory using zpasswd
> > populated by a user name and password. Stop and restart zope. You should
> > then be able to login using the emergency password and create an acl-users
> > file and hand populate it with an account and restart Zope.
>
> sorry, but exactly that doesn't work.
>
> i'm running zope 2.7.2 in debian/testing.
>
> i created the inituser file with /usr/lib/zope2.7/bin/zpasswd.py inituser
You should use 'access' instead of 'inituser': the latter just create
a normal users and sets the password, but it won't work if there is no
acl_users in an already existing Zope database; the former will
actually set up an emergency user (AFAIK).
--
Roberto Lupi
http://www.lupi-software.com/
More information about the Zope
mailing list