Change Your localhost Moodle Admin Password

Basic instructions for when you happen to lose the admin password for your localhost Moodle site (or have ssh access to a live site and, God forbid, have lost *that* admin password. There are instructions for this in the Moodle docs. But here is a bit more detail.

cd moodleroot // cd to wherever your install is at :)
php admin/cli/reset_password.php // Run change pw script with PHP
== Password reset == 
enter username (manual authentication only)
: admin
Enter new password
: **********
Password changed


comments powered by Disqus