Changes

From Amahi Wiki
Jump to: navigation, search
* [[Open_Terminal_as_root|Open terminal as root user]] and verify the user name:
echo "select login from users" | mysql -uroot -phda hda_production
* Enter the following (replace ''user name'' in both command lines with the user name whose password needs resetfrom the previous step):
passwd user name
<pre style="white-space:normalpre-wrap; word-break: keep-all;">echo "update users set crypted_password='f0b2344ac59b55ab5f52b2984a6d1c96838b3dbf13c6d01752cc60e228043a676fabec7a07ffe7cee763aa127bd4f34b3e267861829a88c1870a198e7a01cfa6', password_salt='Qt1VlDCmyCb8KBhpsuUW' where login='user name'" | mysql -uroot -phda hda_production</pre>
:'''NOTE:''' Use copy/paste for commands above. The crypted_password string is quite long and may not be completely visible. == Ubuntu 12.04.x /Fedora 21 or greater ==
In the event that you can't get into the web with your username and password but can still get into terminal on Ubuntu (either by SSH or from the GUI) you can still reset your password.
12,424

edits