[Zope] python: can't open file 'zpasswd.py'
Luby Liao
liao@acusd.edu
Fri, 18 May 2001 15:41:43 -0700 (PDT)
Daniel, I would advise that you install Zope from source. In the
case of Zope, installing from source is NO more difficult than either
from rpm or binary kit -- it takes seconds. I think this will solve
your problem. If not, you only waste seconds. cheers, Luby
> Ok, I've run the zpasswd utility as instructed. But I still can't login to
> the management screen.
>
> I installed Zope on a linux server using a an RPM. It seems to be working
> fine (I can tool around the help pages etc,)
>
> To keep things simple when I ran zpasswd I did not encrypt my password or
> add domain restrictions.
>
> The "access" file looks like this:
> superuser:mypasswd
>
> The permissions look like this:
> -rw-r----- 1 root zope 16 May 18 14:14 access
>
> "access" is located:
> /var/zope
>
> Any ideas what I'm doing wrong here?
>
> Thanks, D.
>
>
>
>
> > From: Luby Liao <liao@sandiego.edu>
> > Reply-To: liao@acusd.edu
> > Date: Thu, 17 May 2001 09:38:30 -0700 (PDT)
> > To: Daniel Muller <dmuller@angel.net>
> > Cc: <zope@zope.org>
> > Subject: [Zope] python: can't open file 'zpasswd.py'
> >
> >
> > Daniel,
> >
> >> Next I logged onto my server trying to run zpasswd.py
> >>
> >> I tried various ways to run this script including:
> >> /usr/bin/python1.5 zpasswd.py /var/zope/access
> >>
> >> Every time I get the following message:
> >> python: can't open file 'zpasswd.py'
> >>
> >> [root@puccini bin]# ls -l zpasswd
> >> -rwxr-xr-x 1 root root 9546 May 8 16:00 zpasswd
> >
> > Here, you are looking for zpasswd, not zpasswd.py, which is in the
> > root directory of the Zope distro. cheers, Luby
> >
> >> I've just completed an rpm install of zope on a linux box and I'm
> >> not able to log into the management screen.
> >>
> >> Zope is running. I can see it fine at:
> >> http://puccini.myhost.edu:8080
> >>
> >> I next tried to log onto the management screen:
> >> http://puccini.myhost.edu:8080/manage
> >> and was prompted for a username and password
> >>
> >> I entered
> >> u: superuser
> >> p:123
> >>
> >> and receiver the "unauthorized user " message.
> >>
> >> Next I logged onto my server trying to run zpasswd.py
> >>
> >> I tried various ways to run this script including:
> >> /usr/bin/python1.5 zpasswd.py /var/zope/access
> >>
> >> Every time I get the following message:
> >> python: can't open file 'zpasswd.py'
> >>
> >> [root@puccini bin]# ls -l zpasswd
> >> -rwxr-xr-x 1 root root 9546 May 8 16:00 zpasswd
> >>
> >> [root@puccini zope]# ls -l access
> >> -rw-r----- 1 root zope 65 May 17 10:16 access
> >>
> >> I've searched this mailing list for answers but I'm still stumped.
> >>
> >> Questions:
> >> 1. Why can't run zpasswd.py
> >>
> >> 2. Can I edit the access file manually?
> >> (Here is what the access file looks like:
> >> superuser:{SHA}QL0AFWMIX8NRZTKeof9cXsvbvu8=
> >> :puccini.myhost.edu)
> >>
> >>
> >> _______________________________________________
> >> 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 )
> >
>