27 Mar
2005
27 Mar
'05
9:02 a.m.
Tres Seaver wrote:
You've been running 'zpasswd.py' in the wrong place: those files need to be created in your instance home, not in the 'bin' directory of your Zope software installation.
Rather than running it directly, try running your instance's 'zopectl', e.g.:
$ cd /path/to/zope/instance $ bin/zopectl
Then, at the 'zopectl>' prompt, run its 'adduser' command:
zopectl> adduser admin 123
Which will add the user in the 'acl_users' of your Zope root in the ZODB.
Thanks for that Tres. I ran the following: /opt/zope/bin/zpasswd.py /var/opt/zope/default/access and it worked just fine. Thanks to all who replied. I now know a little bit more than I did yesterday :) Cheers Peter