Difference between revisions of "Reset Amahi Password"

From Amahi Wiki
Jump to: navigation, search
Line 2: Line 2:
 
image =Warning.png|
 
image =Warning.png|
 
heading =WARNING|
 
heading =WARNING|
message = Ensure you know the root password before you use this method!  See '''NOTES''' below for more information.}}
+
message = Ensure you know the root password before you use this method!  See '''RULES''' below for more information.}}
 
'''NOTE:'''  This capability is currently unavailable in Amahi 7 ([https://bugs.amahi.org/issues/1509 Amahi Bug 1509]).
 
'''NOTE:'''  This capability is currently unavailable in Amahi 7 ([https://bugs.amahi.org/issues/1509 Amahi Bug 1509]).
  
Line 13: Line 13:
 
This will allow you to login to the web with any password and will be forced to change your password.
 
This will allow you to login to the web with any password and will be forced to change your password.
  
'''<u>NOTES</u>'''
+
'''<u>RULES</u>'''
  
 
* 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 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.

Revision as of 22:44, 12 August 2014

Warning.png WARNING
Ensure you know the root password before you use this method! See RULES below for more information.


NOTE: This capability is currently unavailable in Amahi 7 (Amahi Bug 1509).

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.

RULES

  • 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!