Hello all... Got following problem: Had application using ExUserFolder. Applciation stored users in postgress. I've lost the machine it used to run on. I've lost the data that used to be in the DB. What I do have is the /opt/zope/... directory. I would like to get the code out of this. I've managed to get zope up and running, but.... I cannot view the source code since it's secured via the ExUserFolder, which tries to validate against a non existent DB... Is there an emergency User I can use to view the code? Is there someway, I can delete the ExUserFolder so as to allow access via superuser? Any other ideas appreciated...
Last time i had a db problem on another machine that went away, I faked the dns name in my local zope machine's host file, so that the host file entry had the name of machine that went away, and the address of a valid machine (same db user and passwd also) and I could then get to the connector. hth bobb ----- Original Message ----- From: <jerry@westrick.com> To: <zope@zope.org> Sent: Friday, April 09, 2004 12:19 PM Subject: [Zope] No Access...
Hello all...
Got following problem:
Had application using ExUserFolder. Applciation stored users in postgress.
I've lost the machine it used to run on. I've lost the data that used to be in the DB.
What I do have is the /opt/zope/... directory. I would like to get the code out of this.
I've managed to get zope up and running, but.... I cannot view the source code since it's secured via the ExUserFolder, which tries to validate against a non existent DB...
Is there an emergency User I can use to view the code? Is there someway, I can delete the ExUserFolder so as to allow access via superuser?
Any other ideas appreciated...
_______________________________________________ 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 )
Okay, solved my problem by modifying the ExUserFolder code, to return a single user, instead of doing the SQL statements. The ExUserFolder code is under products on the disk and not part or the Zope Data.fs and therefore accessable without Zope security.... Now I can get to my code! Thought this might hel someone.... Jerry On Fri, 2004-04-09 at 18:19, jerry@westrick.com wrote:
Hello all...
Got following problem:
Had application using ExUserFolder. Applciation stored users in postgress.
I've lost the machine it used to run on. I've lost the data that used to be in the DB.
What I do have is the /opt/zope/... directory. I would like to get the code out of this.
I've managed to get zope up and running, but.... I cannot view the source code since it's secured via the ExUserFolder, which tries to validate against a non existent DB...
Is there an emergency User I can use to view the code? Is there someway, I can delete the ExUserFolder so as to allow access via superuser?
Any other ideas appreciated...
_______________________________________________ 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 )
participants (3)
-
Bobb -
Jerome R. Westrick -
jerry@westrick.com