Viewing user and password

Viewing user and password

by M H -
Number of replies: 2

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: -
In reply to M H

Re: Viewing user and password

by Ken Task -
Picture of 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)
In reply to Ken Task

Re: Viewing user and password

by M H -

Thank you Ken that worked perfectly. Appreciated smile