Reset the password for the LinuxMCE Admin site: Difference between revisions
Appearance
m added the root user to the command to get into MySql and exit to get out of MySql |
mNo edit summary |
||
| Line 1: | Line 1: | ||
[[Category:Tutorials]] | |||
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 | ||
Revision as of 12:11, 6 November 2011
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