[Zope] login failure zope with gentoo

Dylan Reinhardt zope at dylanreinhardt.com
Fri Sep 5 02:54:51 EDT 2003


To set the initial user when you use this ebuild, you need to do this:

zope-config --zpasswd

Start up Zope and you should be good to go.  

With Gentoo, it's a good idea to check out the ebuild scripts if a
package doesn't seem to be working correctly.  If you're not familiar
with instance home setups, realize that you probably now have one.

HTH,

Dylan



On Wed, 2003-09-03 at 01:00, Riccardo Gaggero wrote:
> i have a gentoo box
> and testing my zope installation http://ipserver:8080 the index page is ok
> but i want display the http://ipserver:8080/manage the login failure
> from zope book
> The initial user name and password are 'admin' and 'tnLQ6imA'.
> This user not work
> I have change the user zope (its group was "user" now its "zope-2_6_1") its
> right????
> Login gentoo with user zope
> Run the script
> /usr/bin/python zpasswd.py --username=root --password=root
> /usr/share/zope/zope-2.6.1/inituser
> no error messages
> 
> Check the file /usr/share/zope/zope-2.6.1/inituser
> --------
> root:{SHA}3Hbp8MAAbo+RngxRXGbbujmC94U=
> ---------
> check permission file
> -------
> -rw-rw----    1 zope     zope-2_6_1      164 Sep  1 14:50 Makefile
> drwxrwx---    4 zope     zope-2_6_1     4096 Sep  1 15:59 ZServer
> drwxrwx---    2 zope     zope-2_6_1     4096 Sep  1 14:50 import
> -rw-rw----    1 zope     zope-2_6_1       38 Sep  2 13:27 inituser
> -rw-rw----    1 zope     zope-2_6_1       38 Sep  2 12:15 inituser.old
> drwxrwx---    2 zope     zope-2_6_1     4096 Sep  1 14:50 inst
> drwxrwx---    4 zope     zope-2_6_1     4096 Sep  1 14:50 lib
> drwxrwx---    7 zope     zope-2_6_1     4096 Sep  1 14:50 pcgi
> -rw-rw----    1 zope     zope-2_6_1    36439 Sep  1 14:50 setup.py
> -rw-rw----    1 zope     zope-2_6_1    27716 Sep  1 14:50 setup.pyc
> -rw-rw----    1 zope     zope-2_6_1      418 Sep  1 14:50 stupid_clean
> drwxrwx---    3 zope     zope-2_6_1     4096 Sep  1 14:50 utilities
> -rw-rw----    1 zope     zope-2_6_1     1320 Sep  1 14:50 w_pcgi.py
> -rw-rw----    1 zope     zope-2_6_1     1447 Sep  1 14:50 w_pcgi.pyc
> -rw-rw----    1 zope     zope-2_6_1     1468 Sep  1 14:50 wo_pcgi.py
> -rw-rw----    1 zope     zope-2_6_1     1669 Sep  1 14:50 wo_pcgi.pyc
> -rw-rw----    1 zope     zope-2_6_1    31553 Sep  1 14:50 z2.py
> -rw-rw----    1 zope     zope-2_6_1    23347 Sep  1 14:50 z2.pyc
> -rw-rw----    1 zope     zope-2_6_1     6419 Sep  1 14:50 zpasswd.py
> -rw-rw----    1 zope     zope-2_6_1     6960 Sep  1 14:50 zpasswd.pyc
> --------
> restart zope
> 
> but login failure wit user root psw root (the psw is easy but its one
> test!!)
> 
> helpme
> 
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )




More information about the Zope mailing list