Re: issue with authentication

"Andreas Jung" <[email protected]> Sat, 27 Jun 2015 17:53:50 +0200
Newsgroups gmane.comp.web.zope.general
Message-ID <[email protected]>
Seriously, nowadays you use

bin/instance adduser <user> <password>

-aj



On 27 Jun 2015, at 13:17, Sebastian Tänzer wrote:

> Yamana,
>
> did you try to login with the recovery user/password?
>
> To do so you have to create an emerceny user using the zpasswd.py script (locatet either at site-packages/Zope2/Startup/misc/zpasswd.py or site-packages/Zope2/utilities/zpasswd.py I Zope was installed from egg.
>
> Example in command line/terminal on our systems (virtualenv used):
>
> cd —path to your zope instance --
> /opt/python/zope2-pip/lib/python2.7/site-packages/Zope2/utilities/zpasswd.py -u <user> -p <password> access
>
> This creates an access file in the bin folder. Move this file to the root of the instance:
>
> cd bin
> mv access ..
>
> Now restart Zope and you should be able to login using the new credentials.
> Correct what you broke then ;-)
>
> Best
> Sebastian
>
>> Am 27.06.2015 um 10:56 schrieb Yamana santhosh kumar <[email protected]>:
>>
>> Hello to all zope users.......
>>
>>   I have been facing a problem with authentication in zope, i.e when i try to access the zope with localhost:8080/manage it is showing that the username and password , it is shown below.....
>> <image.png>
>> even though i am giving correct username and password, it is showing that you are not autherised person to access this resource ......(note:i have changed some check boxes in authentications in acl_users folder)
>>
>> I hope that any body can help me to this issue....
>>
>> Thanks in advance.....
>>
>>
>>
>>
>> _______________________________________________
>> Zope maillist  -  [email protected]
>> https://mail.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>> https://mail.zope.org/mailman/listinfo/zope-announce
>> https://mail.zope.org/mailman/listinfo/zope-dev )
>
>
> _______________________________________________
> Zope maillist  -  [email protected]
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )

_______________________________________________
Zope maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
signature.asc (application/pgp-signature, 618 B)
-----BEGIN PGP SIGNATURE-----

iQGUBAEBAgAGBQJVjscPAAoJEADcfz7u4AZjMnULv2RGSjKh83PHd7wDrEHy8oRW
FVzPId5LqNM8MsuSTCETYPtThWCwH07DwSFwPTNaRjru6MQOnodchLXw+oO9t1AF
4ZnzHAEBpO4s3wiOCKgMs7pyUnBTQSsm/UA/4C901Oxns55FS3pKgCVX/1xr/U8H
rAWq1gQyzUUsnXUYIFpHI6Bz7I0QdHhiEUw9JUgK74R2dwzbN/m4M0EfFDlHlHr+
kTPoE2mjn/lxICHQDzqRyX4Y3PayoCZfNYWLLlP/3uzNm+4/8dccRj6sGRt0zF3A
E8ftxpR1FNxJOH2qAoCWbLLkdb0IqWU8ekJZ/MaTeoF+3fd1l59ztbja87N485TK
OC6Po7VPN0ywp38CicBKNv0h9DYx8sjOgNJNc8j6OgJrPF9PZxTJw3rNiXWeVFWu
5VIhIA7XBSNJAfeWV5u5USqomnic9j1cAlrCLE5+9b53pILFlBcuZs+ZVTBnZN3Y
81RAoXJNWlY9X22fQDWCyKj0j+J9/ds=
=DSHf
-----END PGP SIGNATURE-----