[Zope] Change admin's password

Justin Dunsworth justin.dunsworth at gmail.com
Wed Dec 30 12:20:59 EST 2009


If you are wanting to update a password on a MySQL table then yes, a simple
'UPDATE TABLE users SET password = 'newpass' WHERE username = 'admin';" will
work. If you are wanting it in MD5 digest form just use "SET password =
MD5('newpass')"

As Lennart mentioned, if you are using multiple databases for each instance
then you'll have to do that to all.

On Wed, Dec 30, 2009 at 11:16 AM, iarly selbir | ski0s <iarlyy at gmail.com>wrote:

> someone experienced in that?
>
>
> Regards,
>
> - -
> iarly selbir | ski0s
>
> :wq!
>
>
>   On Wed, Dec 30, 2009 at 1:14 PM, iarly selbir | ski0s <iarlyy at gmail.com>wrote:
>
>> I guess when Zope store data at mysql, isn't a simple UPDATE TABLE set
>> Password... heh did you already take a look on tables created by zope on
>> MySQL and as it store the objects... ? is slightly different we know
>>
>>
>> Regards,
>>
>> - -
>> iarly selbir | ski0s
>>
>> :wq!
>>
>>
>>   On Wed, Dec 30, 2009 at 1:07 PM, Lennart Regebro <regebro at gmail.com>wrote:
>>
>>> On Wed, Dec 30, 2009 at 14:27, iarly selbir | ski0s <iarlyy at gmail.com>
>>> wrote:
>>> > No, I'm using MySQL as database..
>>>
>>> Well if you are storing your users in MySQL, then change the password
>>> in that table. Done!
>>>
>>> > I have to browse to http://hostname:port/manager and change them ( for
>>> each
>>> > instance )
>>>
>>> If the instances use different databases, then you need to change it
>>> for each database, yes.
>>>
>>> --
>>>  Lennart Regebro: Python, Zope, Plone, Grok
>>> http://regebro.wordpress.com/
>>> +33 661 58 14 64
>>>
>>
>>
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> 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 )
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20091230/67e619e9/attachment.html 


More information about the Zope mailing list