loginmanager in root folder?
I am useing loginmanager0-8-8b1 with zope2.3.2 on win32. I upgraded zpatterns to0-4-3b2 as well. I have it working well with a MS SQLServer database but can't seem to figure out how to install it in the root folder. I get stuck in a catch-22 - I can't login as root(superuser/emergency user) to do the task because after I delete the /zoperoot/acl_users folder and try and paste the loginmanager folder, I get the "superuser cannot own" error message. When I login as another user with Manager and Owner roles to do the same task, immediately upon deleting the /zoperoot/acl_users folder, before I get a chance to paste the loginmanager folder I get promted to login again and can't (except as superuser). Any advice appreciated, Erik Myllymaki erik@pacific-shores.com
It sounds glib, but dont replace the root folders acl_users. I did and regretted it when I found myself locked out of the database. Put it in a sub folder and you will never lock yourself out again... Cheers. -- Andy McKay. ----- Original Message ----- From: "Erik Myllymaki" <erik@pacific-shores.com> To: <zope@zope.org> Sent: Monday, May 07, 2001 2:14 PM Subject: [Zope] loginmanager in root folder?
I am useing loginmanager0-8-8b1 with zope2.3.2 on win32.
I upgraded zpatterns to0-4-3b2 as well.
I have it working well with a MS SQLServer database but can't seem to figure out how to install it in the root folder.
I get stuck in a catch-22 - I can't login as root(superuser/emergency user) to do the task because after I delete the /zoperoot/acl_users folder and try and paste the loginmanager folder, I get the "superuser cannot own" error message. When I login as another user with Manager and Owner roles to do the same task, immediately upon deleting the /zoperoot/acl_users folder, before I get a chance to paste the loginmanager folder I get promted to login again and can't (except as superuser).
Any advice appreciated,
Erik Myllymaki erik@pacific-shores.com
_______________________________________________ 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 )
The way I do it is this: 1. create the loginmanager in a folder and set it up and check it, then check it again 2. check it again 3. once it works, select it and export it 3a. move the exported file to the import folder on the filesystem 4. delete the root acl_users 5. select the import button in the root (you will be asked to login again, as the superuser) 6. enter the name you gave the file in step 3 7. make sure you tell Zope to keep the current ownership of the imported gubbins All should now be well, as the superuser doesn't own the acl_users, eat violas hth Phil On Monday 07 May 2001 22:14, Erik Myllymaki wrote:
I am useing loginmanager0-8-8b1 with zope2.3.2 on win32.
I upgraded zpatterns to0-4-3b2 as well.
I have it working well with a MS SQLServer database but can't seem to figure out how to install it in the root folder.
I get stuck in a catch-22 - I can't login as root(superuser/emergency user) to do the task because after I delete the /zoperoot/acl_users folder and try and paste the loginmanager folder, I get the "superuser cannot own" error message. When I login as another user with Manager and Owner roles to do the same task, immediately upon deleting the /zoperoot/acl_users folder, before I get a chance to paste the loginmanager folder I get promted to login again and can't (except as superuser).
Any advice appreciated,
Erik Myllymaki erik@pacific-shores.com
_______________________________________________ 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 )
Thanks. This works like a charm. ----- Original Message ----- From: "Phil Harris" <phil.harris@zope.co.uk> To: "Erik Myllymaki" <erik@pacific-shores.com>; <zope@zope.org> Sent: Tuesday, May 08, 2001 3:19 PM Subject: Re: [Zope] loginmanager in root folder?
The way I do it is this:
1. create the loginmanager in a folder and set it up and check it, then check it again 2. check it again 3. once it works, select it and export it 3a. move the exported file to the import folder on the filesystem 4. delete the root acl_users 5. select the import button in the root (you will be asked to login again, as the superuser) 6. enter the name you gave the file in step 3 7. make sure you tell Zope to keep the current ownership of the imported gubbins
All should now be well, as the superuser doesn't own the acl_users,
eat violas
hth
Phil
On Monday 07 May 2001 22:14, Erik Myllymaki wrote:
I am useing loginmanager0-8-8b1 with zope2.3.2 on win32.
I upgraded zpatterns to0-4-3b2 as well.
I have it working well with a MS SQLServer database but can't seem to figure out how to install it in the root folder.
I get stuck in a catch-22 - I can't login as root(superuser/emergency user) to do the task because after I delete the /zoperoot/acl_users folder and try and paste the loginmanager folder, I get the "superuser cannot own" error message. When I login as another user with Manager and Owner roles to do the same task, immediately upon deleting the /zoperoot/acl_users folder, before I get a chance to paste the loginmanager folder I get promted to login again and can't (except as superuser).
Any advice appreciated,
Erik Myllymaki erik@pacific-shores.com
_______________________________________________ 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 )
I would still voice extreme caution. One day when your SQL Server goes offline and you need to change something in Zope... -- Andy McKay. ----- Original Message ----- From: "Erik Myllymaki" <erik@pacific-shores.com> To: "Phil Harris" <phil.harris@zope.co.uk>; <zope@zope.org> Sent: Monday, May 07, 2001 3:30 PM Subject: Re: [Zope] loginmanager in root folder?
Thanks. This works like a charm.
----- Original Message ----- From: "Phil Harris" <phil.harris@zope.co.uk> To: "Erik Myllymaki" <erik@pacific-shores.com>; <zope@zope.org> Sent: Tuesday, May 08, 2001 3:19 PM Subject: Re: [Zope] loginmanager in root folder?
The way I do it is this:
1. create the loginmanager in a folder and set it up and check it, then check it again 2. check it again 3. once it works, select it and export it 3a. move the exported file to the import folder on the filesystem 4. delete the root acl_users 5. select the import button in the root (you will be asked to login again, as the superuser) 6. enter the name you gave the file in step 3 7. make sure you tell Zope to keep the current ownership of the imported gubbins
All should now be well, as the superuser doesn't own the acl_users,
eat violas
hth
Phil
On Monday 07 May 2001 22:14, Erik Myllymaki wrote:
I am useing loginmanager0-8-8b1 with zope2.3.2 on win32.
I upgraded zpatterns to0-4-3b2 as well.
I have it working well with a MS SQLServer database but can't seem to figure out how to install it in the root folder.
I get stuck in a catch-22 - I can't login as root(superuser/emergency user) to do the task because after I delete the /zoperoot/acl_users folder and try and paste the loginmanager folder, I get the "superuser cannot own" error message. When I login as another user with Manager and Owner roles to do the same task, immediately upon deleting the /zoperoot/acl_users folder, before I get a chance to paste the loginmanager folder I get promted to login again and can't (except as superuser).
Any advice appreciated,
Erik Myllymaki erik@pacific-shores.com
_______________________________________________ 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 )
Seconded, to a degree. If it's just a case of changing things (not adding them) the superuser can do that. Myself, I tend to have a folder as the site root, with Apache proxypass in front. Then create a normal Manager user in the root so you can still get in when (not if) your Database/LDAP/etc server goes down. Phil On Monday 07 May 2001 23:47, Andy McKay wrote:
I would still voice extreme caution. One day when your SQL Server goes offline and you need to change something in Zope... -- Andy McKay.
participants (3)
-
Andy McKay -
Erik Myllymaki -
Phil Harris