[Zope] python: can't open file 'zpasswd.py'
Luby Liao
liao@acusd.edu
Thu, 17 May 2001 09:38:30 -0700 (PDT)
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 )
>