Jump to content

Reset the password for the LinuxMCE Admin site: Difference between revisions

From LinuxMCE
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
mysql pluto_main -u root
select * FROM Users;


    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";
update Users set Password=md5("mypassword") where UserName="myusername";
    quit;
quit;
Where mypassword is the new password and myusername is the username.
Where mypassword is the new password and myusername is the username.
[[Category:Tutorials]]


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