[Zope] access to passwords
Dragos Chirila
d.chirila@bucarest.finsiel.ro
Wed, 22 Jan 2003 01:15:36 +0200
hi
You can find out all the passwords for all the users using an External
method.
Put in Extensions directory a file called getpwd.py with the fallowing
content:
def getpwd(self):
list={}
for user in self.REQUEST.PARENTS[-1].acl_users.getUsers():
list[user.name]=user.__
print list
Add an External method in Zope and call getpwd method .. in the console
window you will have a dictionary with the structure user:password
rgds
----- Original Message -----
From: "Eugen Nedelcu" <eugen@sifolt.ro>
To: <zope@zope.org>
Sent: Tuesday, January 21, 2003 1:01 PM
Subject: [Zope] access to passwords
> Is there a way to access the password entered by the user,
> the same as with the user name itself (REQUEST['AUTHENTICATED_USER'])?
>
> --
> ICQ: 165549179
>
> _______________________________________________
> 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 )
>