Difference between revisions of "Reset the password for the LinuxMCE Admin site"
From LinuxMCE
m (added the root user to the command to get into MySql and exit to get out of MySql) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Tutorials| Password]] | ||
+ | |||
First, [[Logging In|How do I login to a Linux console?]]. Then type this sequence: | First, [[Logging In|How do I login to a Linux console?]]. Then type this sequence: | ||
− | + | mysql pluto_main -u root | |
+ | select * FROM Users; | ||
− | |||
You will see a list of the users in the database. Then type in this: | You will see a list of the users in the database. Then type in this: | ||
− | + | update Users set Password=md5("mypassword") where UserName="myusername"; | |
− | + | quit; | |
Where mypassword is the new password and myusername is the username. | Where mypassword is the new password and myusername is the username. | ||
− | |||
To exit type in: | To exit type in: | ||
− | exit | + | exit |
Latest revision as of 05:55, 9 October 2012
First, How do I login to a Linux console?. Then type this sequence:
mysql pluto_main -u root select * FROM Users;
You will see a list of the users in the database. Then type in this:
update Users set Password=md5("mypassword") where UserName="myusername"; quit;
Where mypassword is the new password and myusername is the username.
To exit type in:
exit