[Zope] Help.. I accidentally deleted admin at the root acl_users

2005-04-30 Thread u1207440
Help.. I accidentally deleted admin at the root acl_users

I try to create the emergency and inituser using zpasswd.py 

but when I try to get into ZMI by http://localhost:8080/manage, all zope pass 
back to me is

You are not authorized to access this resource.
Username and password are not correct. 

can someone tell me the exact step I have to do. From first to Last. I'm really 
need to get this fix before Monday. This site I constructed with zope was 
suppose to be up on Sunday. Now its not going to happen, I hope I could get it 
up on Monday.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Help.. I accidentally deleted admin at the root acl_users

2005-04-30 Thread Manzuk István
Hi,
first time I also had some problems with the rescue login. The key is to 
put the generated access file into the root of your Zope instance. After 
that it should be working.

Hope it helps,
Istvan
u1207440 rta:
Help.. I accidentally deleted admin at the root acl_users
I try to create the emergency and inituser using zpasswd.py 

but when I try to get into ZMI by http://localhost:8080/manage, all zope pass 
back to me is
You are not authorized to access this resource.
Username and password are not correct. 

can someone tell me the exact step I have to do. From first to Last. I'm really need to get this fix before Monday. This site I constructed with zope was suppose to be up on Sunday. Now its not going to happen, I hope I could get it up on Monday.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
 

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Help.. I accidentally deleted admin at the root acl_users

2005-04-30 Thread J Cameron Cooper
u1207440 wrote:
 Help.. I accidentally deleted admin at the root acl_users
 
 I try to create the emergency and inituser using zpasswd.py 
 
 but when I try to get into ZMI by http://localhost:8080/manage, all zope pass 
 back to me is
 
 You are not authorized to access this resource.
 Username and password are not correct. 
 
 can someone tell me the exact step I have to do. From first to Last. I'm 
 really need to get this fix before Monday. This site I constructed with zope 
 was suppose to be up on Sunday. Now its not going to happen, I hope I could 
 get it up on Monday.

This can really be gotten from Zope/docs/SECURITY.txt or
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Security.stx
or many other places...

cd SOFTWARE_HOME/bin
python zpasswd.py access
# follow the prompts
mv access INSTANCE_HOME
cd INSTANCE_HOME
./bin/zopectl restart
# login and fix your userfolder
# logout, delete access

and you're done. If it doesn't work with the access file in the instance
dir, put it in the var subdir, though I'm pretty sure I'm right.

--jcc

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )