Hello: I have the rpm of Zope 2.3.2-1 installed. Accessing http://localhost:8080 brings up a Zope page, so I'm assuming the basic install is good. What I cannot figure out for the life of me is how to pass the administration password. 1.) I have no knowledge of what the default was set to by the rpm install. I saw no message about this during the installation; 2.) Perhaps more to the point, I can't figure where, exactly, Zope is looking for this user/password data; 3.) I see the python scripts for changing passwords in /usr/share/zope/utilities. zpasswd.py -u superuser -p [passwd] access seems to work OK. It writes a lovely access file that looks a lot like /etc/passwd. So, I chmod it to 600 and restart zope and try again. Still no cigar; I have searched docs, etc--but nothing is getting me past this impediment. What am I doing wrong? Is the administrator user still defaulted to username 'superuser?' Do I create this as a system account on my linux system and put a password in /etcpasswd & /etc/shadow? If not, where does it need to be? Thanks in advance. I'd dearly love to move on to more interesting problems! <grin> Janina Sajka, Director Technology Research and Development Governmental Relations Group American Foundation for the Blind (AFB) Email: janina@afb.net Phone: (202) 408-8175 Chair, Accessibility SIG Open Electronic Book Forum (OEBF) http://www.openebook.org Will electronic books surpass print books? Read our white paper, Surpassing Gutenberg, at http://www.afb.org/ebook.asp Download a free sample Digital Talking Book edition of Martin Luther King Jr's inspiring "I Have A Dream" speech at http://www.afb.org/mlkweb.asp Learn how to make accessible software at http://www.afb.org/accessapp.asp
Hi Janina, Try creating a file in the Zope main directory named "inituser" and put this inside of it: admin:xxx Then restart (or start) Zope, and try to log in as admin, password xxx. If that doesn't work, try creating a file named "access" in the same directory with the contents: emergencyuser:xxx Then try logging on as "emergencyuser", password xxx. Create a user in Zope via the management interface, log out as emergency user, and log back in as the user you've created. - C ----- Original Message ----- From: "Janina Sajka" <janina@afb.net> To: <zope@zope.org> Sent: Tuesday, July 24, 2001 3:45 PM Subject: [Zope] Newbie Password Frustration
Hello:
I have the rpm of Zope 2.3.2-1 installed. Accessing http://localhost:8080 brings up a Zope page, so I'm assuming the basic install is good.
What I cannot figure out for the life of me is how to pass the administration password.
1.) I have no knowledge of what the default was set to by the rpm install. I saw no message about this during the installation;
2.) Perhaps more to the point, I can't figure where, exactly, Zope is looking for this user/password data;
3.) I see the python scripts for changing passwords in /usr/share/zope/utilities. zpasswd.py -u superuser -p [passwd] access seems to work OK. It writes a lovely access file that looks a lot like /etc/passwd. So, I chmod it to 600 and restart zope and try again. Still no cigar;
I have searched docs, etc--but nothing is getting me past this impediment. What am I doing wrong? Is the administrator user still defaulted to username 'superuser?' Do I create this as a system account on my linux system and put a password in /etcpasswd & /etc/shadow? If not, where does it need to be?
Thanks in advance. I'd dearly love to move on to more interesting problems! <grin>
Janina Sajka, Director Technology Research and Development Governmental Relations Group American Foundation for the Blind (AFB)
Email: janina@afb.net Phone: (202) 408-8175
Chair, Accessibility SIG Open Electronic Book Forum (OEBF) http://www.openebook.org
Will electronic books surpass print books? Read our white paper, Surpassing Gutenberg, at http://www.afb.org/ebook.asp
Download a free sample Digital Talking Book edition of Martin Luther King Jr's inspiring "I Have A Dream" speech at http://www.afb.org/mlkweb.asp
Learn how to make accessible software at http://www.afb.org/accessapp.asp
_______________________________________________ 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 )
Hi! If you use the non-rpm (binary or source) installs, the initial username/password will be generated for you and displayed by the install script. I'd usually install Zope this way. RPMs don't have too many benefits when used with Zope ...
I have the rpm of Zope 2.3.2-1 installed. Accessing http://localhost:8080 brings up a Zope page, so I'm assuming the basic install is good.
What I cannot figure out for the life of me is how to pass the administration password.
The password is passed at the login screen ;-)
2.) Perhaps more to the point, I can't figure where, exactly, Zope is looking for this user/password data;
Zope looks for passwords in the Zope Object Database and (for the initial or emercency user) in the access file (the access file has to be located in the Zope root directory, wherever that is with your RPM distro ...) So if you don't get in, creating a new user with zpassword.py should work. Maybe your access file is just at the wron place or so? In most cases, an RPM install creates some docs in usr/shared/doc or so. At least for SuSE I think that was where the standard password was documented ...
3.) I see the python scripts for changing passwords in /usr/share/zope/utilities. zpasswd.py -u superuser -p [passwd] access seems to work OK. It writes a lovely access file that looks a lot like /etc/passwd. So, I chmod it to 600 and restart zope and try again. Still no cigar;
?
I have searched docs, etc--but nothing is getting me past this impediment. What am I doing wrong? Is the administrator user still defaulted to username 'superuser?' Do I create this as a system account on my linux system and put a password in /etcpasswd & /etc/shadow? If not, where does it need to be?
No. Just "access" file or Zope DB. As soon as your Zope is running, you could then add other authentication sources ... Joachim
It is probably a permissions problem. When you run zpasswd.py, the file will be created as the user you are now. It probably wants to be running as nobody, so you need to: chown nobody:nobody access It also should not be readable by anyone else, so you should also do a chmod 400 access after those steps, restart zope and all should be well. Those steps worked for me anyway :) Alex Kelly Internet System Administrator Franklin University Janina Sajka wrote:
Hello:
I have the rpm of Zope 2.3.2-1 installed. Accessing http://localhost:8080 brings up a Zope page, so I'm assuming the basic install is good.
What I cannot figure out for the life of me is how to pass the administration password.
1.) I have no knowledge of what the default was set to by the rpm install. I saw no message about this during the installation;
2.) Perhaps more to the point, I can't figure where, exactly, Zope is looking for this user/password data;
3.) I see the python scripts for changing passwords in /usr/share/zope/utilities. zpasswd.py -u superuser -p [passwd] access seems to work OK. It writes a lovely access file that looks a lot like /etc/passwd. So, I chmod it to 600 and restart zope and try again. Still no cigar;
I have searched docs, etc--but nothing is getting me past this impediment. What am I doing wrong? Is the administrator user still defaulted to username 'superuser?' Do I create this as a system account on my linux system and put a password in /etcpasswd & /etc/shadow? If not, where does it need to be?
Thanks in advance. I'd dearly love to move on to more interesting problems! <grin>
Janina Sajka, Director Technology Research and Development Governmental Relations Group American Foundation for the Blind (AFB)
Email: janina@afb.net Phone: (202) 408-8175
Chair, Accessibility SIG Open Electronic Book Forum (OEBF) http://www.openebook.org
Will electronic books surpass print books? Read our white paper, Surpassing Gutenberg, at http://www.afb.org/ebook.asp
Download a free sample Digital Talking Book edition of Martin Luther King Jr's inspiring "I Have A Dream" speech at http://www.afb.org/mlkweb.asp
Learn how to make accessible software at http://www.afb.org/accessapp.asp
_______________________________________________ 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 )
Ah, got it! It's /var/zope/access Rather obvious, now that I've found it. Thanks everyone. Much obliged. On Tue, 24 Jul 2001, Alex Kelly wrote:
It is probably a permissions problem. When you run zpasswd.py, the file will be created as the user you are now. It probably wants to be running as nobody, so you need to: chown nobody:nobody access It also should not be readable by anyone else, so you should also do a chmod 400 access after those steps, restart zope and all should be well.
Those steps worked for me anyway :)
Alex Kelly Internet System Administrator Franklin University
Janina Sajka wrote:
Hello:
I have the rpm of Zope 2.3.2-1 installed. Accessing http://localhost:8080 brings up a Zope page, so I'm assuming the basic install is good.
What I cannot figure out for the life of me is how to pass the administration password.
1.) I have no knowledge of what the default was set to by the rpm install. I saw no message about this during the installation;
2.) Perhaps more to the point, I can't figure where, exactly, Zope is looking for this user/password data;
3.) I see the python scripts for changing passwords in /usr/share/zope/utilities. zpasswd.py -u superuser -p [passwd] access seems to work OK. It writes a lovely access file that looks a lot like /etc/passwd. So, I chmod it to 600 and restart zope and try again. Still no cigar;
I have searched docs, etc--but nothing is getting me past this impediment. What am I doing wrong? Is the administrator user still defaulted to username 'superuser?' Do I create this as a system account on my linux system and put a password in /etcpasswd & /etc/shadow? If not, where does it need to be?
Thanks in advance. I'd dearly love to move on to more interesting problems! <grin>
Janina Sajka, Director Technology Research and Development Governmental Relations Group American Foundation for the Blind (AFB)
Email: janina@afb.net Phone: (202) 408-8175
Chair, Accessibility SIG Open Electronic Book Forum (OEBF) http://www.openebook.org
Will electronic books surpass print books? Read our white paper, Surpassing Gutenberg, at http://www.afb.org/ebook.asp
Download a free sample Digital Talking Book edition of Martin Luther King Jr's inspiring "I Have A Dream" speech at http://www.afb.org/mlkweb.asp
Learn how to make accessible software at http://www.afb.org/accessapp.asp
_______________________________________________ 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 )
-- Janina Sajka, Director Technology Research and Development Governmental Relations Group American Foundation for the Blind (AFB) Email: janina@afb.net Phone: (202) 408-8175 Chair, Accessibility SIG Open Electronic Book Forum (OEBF) http://www.openebook.org Will electronic books surpass print books? Read our white paper, Surpassing Gutenberg, at http://www.afb.org/ebook.asp Download a free sample Digital Talking Book edition of Martin Luther King Jr's inspiring "I Have A Dream" speech at http://www.afb.org/mlkweb.asp Learn how to make accessible software at http://www.afb.org/accessapp.asp
To head off the inevitable second question, no, the emergency user (defined in the access file) cannot create any objects besides users. ;-) You need to create a manager user via "inituser" or manually and then use that account to do your Zope site management. ----- Original Message ----- From: "Janina Sajka" <janina@afb.net> To: "Alex Kelly" <kellya@babbage.franklin.edu> Cc: <zope@zope.org> Sent: Tuesday, July 24, 2001 4:27 PM Subject: Re: [Zope] Newbie Password Frustration
Ah, got it! It's /var/zope/access
Rather obvious, now that I've found it. Thanks everyone. Much obliged.
On Tue, 24 Jul 2001, Alex Kelly wrote:
It is probably a permissions problem. When you run zpasswd.py, the file will be created as the user you are now. It probably wants to be running as nobody, so you need to: chown nobody:nobody access It also should not be readable by anyone else, so you should also do a chmod 400 access after those steps, restart zope and all should be well.
Those steps worked for me anyway :)
Alex Kelly Internet System Administrator Franklin University
Janina Sajka wrote:
Hello:
I have the rpm of Zope 2.3.2-1 installed. Accessing
brings up a Zope page, so I'm assuming the basic install is good.
What I cannot figure out for the life of me is how to pass the administration password.
1.) I have no knowledge of what the default was set to by the rpm install. I saw no message about this during the installation;
2.) Perhaps more to the point, I can't figure where, exactly, Zope is looking for this user/password data;
3.) I see the python scripts for changing passwords in /usr/share/zope/utilities. zpasswd.py -u superuser -p [passwd] access seems to work OK. It writes a lovely access file that looks a lot like /etc/passwd. So, I chmod it to 600 and restart zope and try again. Still no cigar;
I have searched docs, etc--but nothing is getting me past this impediment. What am I doing wrong? Is the administrator user still defaulted to username 'superuser?' Do I create this as a system account on my linux system and put a password in /etcpasswd & /etc/shadow? If not, where does it need to be?
Thanks in advance. I'd dearly love to move on to more interesting problems! <grin>
Janina Sajka, Director Technology Research and Development Governmental Relations Group American Foundation for the Blind (AFB)
Email: janina@afb.net Phone: (202) 408-8175
Chair, Accessibility SIG Open Electronic Book Forum (OEBF) http://www.openebook.org
Will electronic books surpass print books? Read our white paper, Surpassing Gutenberg, at http://www.afb.org/ebook.asp
Download a free sample Digital Talking Book edition of Martin Luther King Jr's inspiring "I Have A Dream" speech at http://www.afb.org/mlkweb.asp
Learn how to make accessible software at http://www.afb.org/accessapp.asp
_______________________________________________ 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 )
--
Janina Sajka, Director Technology Research and Development Governmental Relations Group American Foundation for the Blind (AFB)
Email: janina@afb.net Phone: (202) 408-8175
Chair, Accessibility SIG Open Electronic Book Forum (OEBF) http://www.openebook.org
Will electronic books surpass print books? Read our white paper, Surpassing Gutenberg, at http://www.afb.org/ebook.asp
Download a free sample Digital Talking Book edition of Martin Luther King Jr's inspiring "I Have A Dream" speech at http://www.afb.org/mlkweb.asp
Learn how to make accessible software at http://www.afb.org/accessapp.asp
_______________________________________________ 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 )
Hi Janina, --On Dienstag, 24. Juli 2001 15:45 -0400 Janina Sajka <janina@afb.net> wrote:
Hello:
I have the rpm of Zope 2.3.2-1 installed. Accessing http://localhost:8080 brings up a Zope page, so I'm assuming the basic install is good.
What I cannot figure out for the life of me is how to pass the administration password.
1.) I have no knowledge of what the default was set to by the rpm install. I saw no message about this during the installation;
This might be a problem with the rpm, I personally recommend using the source install as it gives more control.
2.) Perhaps more to the point, I can't figure where, exactly, Zope is looking for this user/password data;
the zope-root/access file is for the emergency user. It can even be plain text or you simple create it using zpasswd.py cd zope-root python zpassword.py access [enter] answer the questions. You can leave "domain" blank at first. Also make sure if you change permission on the file, the effective user, zope is running under should be able to read it. (normally this is "nobody") You can also make a default manager user (emergency user is limited for security reasons and cannot own anything except user folders and users) python zpassword.py inituser Note the files "access" and "inituser" must be in the zope installation root. (or instance root, but this becomes to complicate for now) Upon first start, the access file remains but the inituser file gets resorbed and an initial manager account is created. You should try to login with this manager account (choose them different)
3.) I see the python scripts for changing passwords in /usr/share/zope/utilities. zpasswd.py -u superuser -p [passwd] access seems to work OK. It writes a lovely access file that looks a lot like /etc/passwd. So, I chmod it to 600 and restart zope and try again. Still no cigar;
I have searched docs, etc--but nothing is getting me past this impediment. What am I doing wrong? Is the administrator user still defaulted to username 'superuser?' Do I create this as a system account on my linux system and put a password in /etcpasswd & /etc/shadow? If not, where does it need to be?
HTH Tino Wildenhain
participants (5)
-
Alex Kelly -
Chris McDonough -
Janina Sajka -
Joachim Werner -
Tino Wildenhain