Lost Admin privileges(Urgent)

Lost Admin privileges(Urgent)

George Joseph發表於
Number of replies: 3
hi,

I am using Moodle 1.9+. I had hosted the same in Windows 2003 Server. I lost admin user privileges. I can access all the files through FTP. It will be greatfull if anyone can help me on this issue...(If I need to edit any file or directory pls mention the path and name of the same).
評比平均分數: -
In reply to George Joseph

Re: Lost Admin privileges(Urgent)

Gary Anderson發表於
Make sure that you can log in as another users.

If so, and if you have direct access to the Moodle database (you will need to know the dateabase password), you can copy the known password entry (it is a md5 hash, not the password) of that other user into the password field entry of the admin user.

That will let you in as the admin and you can change the password back.


In reply to Gary Anderson

Re: Lost Admin privileges(Urgent)

George Joseph發表於
Hi,
I am able to login as admin, but lost the admin privileges. I can't see add/edit users, courses etc... such options(I can't see any of those options). I can see only the list of the courses. I had tried to edit the student's profile before 2 days. Could u pls help me on this?
In reply to George Joseph

Re: Lost Admin privileges(Urgent)

Joseph Rézeau發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片 Translators的相片
Can please a Moodle admin move this discussion to the General Problems forum where it belongs?
Thanks in advance,
Joseph