Difference between revisions of "Reset Amahi Password"

From Amahi Wiki
Jump to: navigation, search
Line 1: Line 1:
'''CAUTION:'''  Ensure you know the root password before you use this method!  See NOTES below for more information.
+
'''CAUTION:'''  Ensure you know the root password before you use this method!  See '''NOTES''' below 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.
 
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.

Revision as of 02:07, 12 August 2014

CAUTION: Ensure you know the root password before you use this method! See NOTES below 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:

/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 command line passwd. Only add, change, or delete users and passwords via the Amahi Dashboard!
  • 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. Again, ensure you know the root password before using this method!