Difference between revisions of "Reset Amahi Password"
From Amahi Wiki
Afterspencer (talk | contribs) (Additional information, including sudo problem) |
|||
Line 1: | Line 1: | ||
− | ''' | + | '''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. | ||
Line 5: | Line 5: | ||
Run the following command: | 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. | This will allow you to login to the web with any password and will be forced to change your password. | ||
− | + | '''<u>NOTES</u>''' | |
− | This will only work if you only have one admin in Amahi. | + | * 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. |
− | 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. | + | * 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! |
Revision as of 00:06, 3 April 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!