>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.<br><br>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. <span class="q"></span>
<br><br><div><span class="gmail_quote">On 4/3/07, <b class="gmail_sendername">Ricardo Newbery</b> <<a href="mailto:newbery@dvgroup.com">newbery@dvgroup.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span class="q">
<div>At 10:02 PM +0100 4/3/07, michael nt milne wrote:</div>
<blockquote type="cite"><br></blockquote>
<blockquote type="cite">On 4/3/07,<b> Ricardo Newbery</b> <<a href="mailto:newbery@dvgroup.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">newbery@dvgroup.com</a>>
wrote:<br>
<blockquote>At 12:45 AM +0100 4/3/07, michael nt milne wrote:<br>
>Hi<br>
><br>
>I need to create an new user or an emergency user in a Zope
instance<br>
>outside of using ./zopectl adduser. I'm getting a 'resource
not<br>
>available' message for that. Is there another way of creating
an<br>
>emergency user in unix?<br>
<br>
<br>
I haven't tried the zopectl method myself but I believe this is<br>
supposed to create a real user with the Manager role -- this is
not<br>
an "emergency user" as the term is typically used.<br>
<br>
If you mean instead to create an "emergency user", use the
zpasswd.py<br>
utility from the Zope installation.<br>
<br>
python zpasswd.py access<br>
<br>
Read "SECURITY.txt" in your Zope installation for
details.<br>
<br>
Ric<br>
</blockquote>
</blockquote>
<blockquote type="cite"><br></blockquote>
<blockquote type="cite">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 instance</blockquote>
<div><br></div>
<div><br></div></span>
<div>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.
</div>
<div><br></div>
<div>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.</div>
<div><br></div>
<div>Ric</div>
<div><br></div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>michael