RE: RE: [Zope] zpasswd.py access: STILL A PROBLEM
At 08:34 AM 12/20/01 -0500, you wrote:
When you use zpasswd.py access, the user name you used and the password stays in the access file. If I run this command:
[root@localhost ZopeFolder]#python zpasswd.py -u daniel -p daniel access
I'll get a access file in my "ZopeFolder" directory (where I could find Zope) with daniel:{SHA}PQ87ndys7DDEAIxeAw5sR6R4y08= This is the user I used and the password daniel encrypted with SHA If you use the access file, you won't be able to see the emergency user in the Manage Interface in the browser. You should user instead the inituser file if you want to manage that user throught Zope's Manage Interface.
[root@localhost ZopeFolder]#python zpasswd.py -u daniel -p daniel inituser
Interestingly, the Advanced Zope building instructions I sited previously somehow run interference with the inituser file such that it isn't read by the program; rather, only the access file is read. I was able to do what I wanted to do by running your command, opening the inituser file, copying the result, then pasting it into the access file. I will report this problem to the author. Thanks for your help! BenO
Hope this can help you,
Nielca.
Ben Ocean <zope@thewebsons.com> wrote:
Nope, doesn't work. Here's the problem, restated more clearly. I hope SOMEONE can answer this question... 1. I used zpasswd.py access with SHA encryption to create an emergency user and password. 2. Apparently, I must have mis-written the password in my notes. 3. I tried to write a new password to the emergency user using the zpasswd script. Everything seemed to work, but I still couldn't log on. 4. I wrote a completely new password using cleartext. It worked. 5. I want to GET RID OF the old emergency user and password and REPLACE THEM with new ones using SHA encryption. 6. I am unable to replace the username or password with ANY level of encryption. 7. The web interface doesn't allow me to change the emergency user (as far as I can see). 8. I am using Advanced Production Setup with ZEO http://www.zope.org/Members/dshaw/AdvancedSiteSetup and that appears to have run some sort of interference with zpasswd.py since I completely rebuilt Zope and the problem remains. 9. If I knew where the passwords were stored, could I simply erase the file and start afresh? 10. Any other options? TIA, BenO
At 12:07 PM 12/20/01 +1100, you wrote:
It seems to me, having played a lot with it recently, that you stop and start zope, it is then taken up in to the DB, and then you can remove any others online.
-----Original Message----- From: Ben Ocean [mailto:zope@thewebsons.com] Sent: Thursday, 20 December 2001 11:30 To: zope@zope.org Subject: [Zope] zpasswd.py access
Hi; How do I delete or change a password once it's been entered into zope via zpasswd.py access? I just tried changing one with SHA encryption and was unable to, so I added a new user with cleartext and it went straight through. Wazzup? And do I *have* to specify a domain when I use SHA? TIA, BenO
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
--
__________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
participants (1)
-
Ben Ocean