General help

Viewing user and password

 
Picture of M H
Viewing user and password
 

Hi

I have taken down the wrong username and password for my dev site. Is there anyway of reseting both from the command line or viewing as I didnt give an email at set up. Thanks in advance.

smile


 
Average of ratings: -
Picture of Ken Task
Re: Viewing user and password
Group Particularly helpful Moodlers

cd pathtomoodlecode/admin/cli/

php reset_password.php

for manual accounts only.

It will prompt first for the username (account)

If exist, then it will prompt for password ... which echo's in clear text so you can see what you type. ;)

'spirit of sharing', Ken


 
Average of ratings: Useful (2)
Picture of M H
Re: Viewing user and password
 

Thank you Ken that worked perfectly. Appreciated smile

 
Average of ratings: -