>I'm not sure I understand the question. This script will
generate a file called "access" -- just place >this file in
the file directory root of the instance you need to access, make sure
it has the correct >ownership settings, and restart the instance.
Hi - Well I have a Zeo instance with a single zope instance within it which is controlled by the scripts in /bin in the Zeo instance. When I ran the
zpasswd.py from within the zope instance it didn't affect the login for the zope instance.
At 10:02 PM +0100 4/3/07, michael nt milne wrote:On 4/3/07, Ricardo Newbery <newbery@dvgroup.com> wrote:
At 12:45 AM +0100 4/3/07, michael nt milne wrote:
>Hi
>
>I need to create an new user or an emergency user in a Zope instance
>outside of using ./zopectl adduser. I'm getting a 'resource not
>available' message for that. Is there another way of creating an
>emergency user in unix?
I haven't tried the zopectl method myself but I believe this is
supposed to create a real user with the Manager role -- this is not
an "emergency user" as the term is typically used.
If you mean instead to create an "emergency user", use the zpasswd.py
utility from the Zope installation.
python zpasswd.py access
Read "SECURITY.txt" in your Zope installation for details.
Ric
thanks but how would you do change a pass for a zope instance within the main instance using zpaasswd? it seems to control only the main instanceI'm not sure I understand the question. This script will generate a file called "access" -- just place this file in the file directory root of the instance you need to access, make sure it has the correct ownership settings, and restart the instance.Incidentally, I believe you can also just create this file manually. The assumption is that if you have access to the file system, you naturally also have permission to access the Zope instance.Ric