Lost password in Textpattern

From Leechfinger
Jump to navigationJump to search

If you have lost a password for a user or can't send emails out to have it reset then you can reset from the database. If you know the password of any user then you you can use that password to set it for the new or lost password account. Textpattern uses ripemd256 encryption.

# mariadb -u bonehead -p 
> show databases;
> connect text_banana_breath;
> show tables;
> select * from txp_users;
> UPDATE txp_users SET pass='1ae3389f00b0d6aa540fd785923f7bb9f442b6891d6ab0b21d56bd825032c189' WHERE name='moron';