From: "Sinang, Danny" <[EMAIL PROTECTED]>
Sent: Monday, 2 de October de 2006 4:02

    Hello.

> In Unix, there's the "su" command which admins can use to log in as
> another user.
>
> Is there a similar facility in Zope ?
>
> If not, is there a way for admins to view the passwords of their
> users ?

    Depending of your Zope version, if you don't encrypt the user passwords
( check "properties" tab of your User Folder ) you can retrieve the user
password.

    External method example:

def getPasswordByName(self, username):
    user = self.acl_users.getUser(username)
    password = user._getPassword()
    return password

Best regards,

@228, Nbk

_______________________________________________
Zope maillist  -  Zope@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 )

Reply via email to