Reset Amahi Password

From Amahi Wiki
Revision as of 15:18, 24 November 2011 by Afterspencer (talk | contribs) (Additional information, including sudo problem)
Jump to: navigation, search

Be sure you know the root password before you use this method! See notes for more information.

In the event that you can't get into the web with your username and password but can still get into terminal on Fedora (either by SSH or from the GUI) you can still reset your password.

Run the following command:

bash code
​/var/hda/platform/html/script/reset-user-password -u <username>​


This will allow you to login to the web with any password and will be forced to change your password.

Notes:

This will only work if you only have one admin in Amahi. I do not know if it changes the Fedora/samba passwords for the user, but assume it does. This will be a problem if you reset your password manually using passwd. I need to do some additional testing to confirm but it seems as though using this method will take the user out of the wheel group and thus not be able to sudo. Make sure you know the root password before using this method!