[Zope] Deian setup
J Cameron Cooper
jccooper at jcameroncooper.com
Thu Feb 12 19:36:50 EST 2004
James Hosken wrote:
> I'm running Debian sarge and I've just installed zope and plone, but I
> can't seam to login to the zope management area.
>
> zope is running, I can see it at http://localhost:9673/ but I can
> login using 'cmsuser' and 'password'
>
> I've used zope-zpasswd -u james -p password /var/lib/zope/access to
> set up another user and then restarted zope but I still can't login.
> Can any one tell me what I'm doing wrong and where I can find some
> debian specific instructions.
A few things to know:
- 'inituser' (for initial user creation) and 'access' (for emergency
user) must be in your INSTANCE_HOME if you're running like that, or in
the root of your zope install otherwise
- they must be readable by the system user running Zope
- 'inituser' is only used when creating a new Data.fs, so delete the
existing one to use this
- 'access' only creates an emergency user, and if you get access that
way you will need to use it to create a new manager that you can
actually use later
- read doc/SECURITY.TXT
My usual sequence if I lose a password on a new install is like this:
go to zope install directory
'python zpasswd.py inituser'
follow the prompts
if I'm doing INSTANCE_HOME, go there and move 'inituser' over
remove existing Data.fs
start Zope
open browser to 'localhost:8080/manage' and login
Debian apparently uses a different port (which shouldn't matter) and
changes the name of the script (which also shouldn't matter.) I don't
know what else is different, but many people report problems with the
Debian Zope package. It may be easier to install it regularly.
--jcc
--
"He who fights with monsters should look to it that he himself does not become a monster. And when you gaze long into an abyss the abyss also gazes into you."
More information about the Zope
mailing list