2013/8/30 Cédric Krier <cedric.kr...@b2ck.com>:
> On 30/08/13 10:50 -0500, Andres Vargas wrote:
>> This problem happen to me for third time.
>>
>> I have a db_dump and restore it on trytond but i dont remember the admin
>> user password.
>>
>> i have to update the salt manually to reset a user  password.
>>
>> What do you think about if add to trytond
>>
>>   --changepassword=username
>>                         changepassword of user
>>
>>
>> example:
>> TRYTONPASSFILE=/tmp/pass.txt bin/trytond  -d t28 --changepassword admin
>
> I don't like it.
> But I will not be against a button to reset the password of any user and
> send him an email with the new password.

I guess the problem is that he cannot login as admin so he couldn't
reach the button anyway.

That said, a very simple sh script can be used to reset the password
of the admin user.

-- 
Albert Cervera i Areny
Consultor funcional
Tel. 93 553 18 03
@albertnan
www.NaN-tic.com

Reply via email to