Easier way


This article shows how to add another Zope Manager to top acl_users folder. Under Linux you can use zopectl but this desn’t work on Windows.


Some time ago it was possible to add Manager to Zope instance using inituser file. I’m not sure when or why this functionality was abandoned. But currently it is possible only using zopectl adduser command. There is a little problem on Windows. This script doesn’t work on this system. I’ve looked inside code of Zope2/Startup/zopectl.py and it is really focused on Linux. So I had to find my own solution.


Copy those 2 files described below to your /bin directory and run:

If user does not exist it will be added. Otherwise you will see message or error. It was tested on Zope 2.9

Rate article
Add a comment