Set or Change a Password
If you need to change a users password (e.g. because they forgot and can’t change it via e-mail), then you can log into Linux and execute the following commands.
Log into server.
Execute the following commands.
cd /edx/app/edxapp/edx-platform
sudo -u www-data /edx/bin/python.edxapp ./manage.py lms --settings aws changepassword test
where test is replaced by the username of the user for which you are changing the password.When prompted, type in the new password and confirm it.