Forum OpenACS Q&A: Lost Administrator Password

Collapse
Posted by Ashem Yadava on
Hello

I have just started working on the authentication module for dotLRN. I installed dotlrn2.02 on my system with aolserver 4 and posygresql 7.4.2. Everything went on fine, however while entering my details i put in my hotmail address as the administrator email id.

I also do not remember my login name. Since i do not have internet connection for my linux machine, can any one help me how to retrieve or change my administrator username/password and corresponding details.

Thank you

Ashem Yadava

Collapse
Posted by Samer Abukhait on
Query the database user

select user_id, username, email from cc_users

the only user supposed to exist now is the admin user.

to reset this account's password create a file.tcl under the www directory with this text

ad_change_password $user_id "ANewPass"

replace user_id with the what resulted as a user_id from the query.

Then call the file from the website http://www...../file

Then log-in using email (from the query) and ANewPass

Samer.