Sourjya,
I've found a slightly older document here
http://pkp.sfu.ca/files/docs/quickreference/quickreference.pdf that may be of some assistance. Please look at page 38 of the PDF where it talks about how to reset passwords directly with the database. The following steps will require you to have direct access to the database.
I will recap what it says here as well for those that have lost/forgotten the admin password. There is also another thread that discusses this found here that is similar but is not so straight forward:
http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=6582&start=0Common Database TasksIt is possible to perform most tasks that will be needed for a successful conference or journal without
needing to access the database directly. However, it may occasionally be necessary to fetch information
from the database. See the “Database Access” section above for information on executing SQL
statements; alternately, use a graphical interface such as PhpMyAdmin. (SQL statements can be
executed in PhpMyAdmin by clicking the “SQL” icon.)
Determining a User IDA user ID can be fetched from the database using one of the following SQL statements:
If you have an email address for the user (e.g.
pkpsupport@sfu.ca):
- Code: Select all
SELECT user_id FROM users WHERE email = 'pkp-support@sfu.ca';
If you have a username (e.g. admin):
- Code: Select all
SELECT user_id FROM users WHERE username = 'admin';
Note that normally the admin user has a user_id of '1'.
Password ResetTo reset as user's password, follow these steps:
1. Determine the user ID (see above).
2. Determine the password encryption method. See the encryption setting in the [security]
section of the config.inc.php configuration file. This will be sha1 or md5.
3. Execute the following SQL to reset the password. For example, for user ID 15 with
md5 encryption, to reset the password to “newPasswordHere”:
- Code: Select all
UPDATE users SET password=MD5(CONCAT(username, 'newPasswordHere'))
WHERE user_id = 15;
If your configuration indicated sha1 then to reset the password to "newPasswordHere":
- Code: Select all
UPDATE users SET password=SHA1(CONCAT(username, 'newPasswordHere'))
WHERE user_id = 15;
To reset the admin password where the user_id for the admin account is '1' and the encryption is SHA1:
- Code: Select all
UPDATE users SET password=SHA1(CONCAT(username, 'newPasswordHere')) WHERE user_id = 1;
I hope this helps.