[Zope] Log in as another user

Olavo Santos lists at varkala.net
Mon Oct 2 00:29:47 EDT 2006

From: "Sinang, Danny" <D.Sinang at spi-bpo.com>
Sent: Monday, 2 de October de 2006 4:02


> 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

    External method example:

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

Best regards,

@228, Nbk

More information about the Zope mailing list