[Zope] Help -- I migrated Data.fs and my administrator was lost

Tino Wildenhain tino@wildenhain.de
Fri, 25 Oct 2002 02:19:59 +0200


Hi Bryan,

first of all, user credentials (beside emergency user,
which is stored in file 'access') is in Data.fs.
So if you copy the Data.fs, you copy the users too.
If something went wrong, you should look with the emergency
user. If its hard to DOS-cd to paths with spaces,
(you can do it with cd c:, cd Program Files, cd Zope
- you only type the name with the spaces. At least my
dos box is ugly enough to let it work. You can also
use "" around it)

You can make your access file on linux and copy it over to
your windows box.

HTH
Tino Wildenhain

--On Donnerstag, 24. Oktober 2002 09:55 -0800 Bryan Capitano 
<Bryan@capitanoweb.com> wrote:

> Hello,
>
> I am trying to migrate a Linux installation of Zope to Windows but seem to
> have lost the administrator login in the process.
> Can anybody help?
>
> 1. Installed Windows version from www.zope.org through their .exe
> installation package. This asked me to pick a login/password combo. I
> chose the same one I have on Linux (easy to remember).
> 2. Fired up Zope to make sure it works. It does.
> 3. Installed all the same products onto Windows Zope as I have in my
> existing Linux installation.
> 4. Fired up Zope to confirm new products installed correctly. A-Okay so
> far. 5. Copy %ZOPE-DISTRIBUTION-PATH%/var/Data.fs from Linux to C:\Program
> Files\Zope\var\Data.fs
> 6. Fired up Zope to confirm everything is working. BLOG, CHOKE CHOKE
> CHOKE, ahEM: I cannot login.... Zope does not recognize my login/password
> anymore (even though I chose same login/pass on LInux as I did on my new
> Windows install).
>
> Tried to use zpasswd.py to change my password on Windows but I cannot CD
> into C:\Program Files\zope\ (DOS gives me errors about CD'ing into a
> directory with spaces in the name.) I'm stuck.
>
> Thanks for any help,
> Bryan
>
>
> _______________________________________________
> 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 )