OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



encrypted pass db

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

encrypted pass db

Postby chayton » Thu Mar 14, 2013 5:19 pm

Hi guys.
I would like to manually enter through a php script users within ojs, and I wanted to ask, are there other tables as well as users to fill?, And how and encrypted password?, I read that depends can be either md5 or sha1 I have tried both ways but the new user fails to login
Last edited by chayton on Thu Mar 14, 2013 5:56 pm, edited 1 time in total.
chayton
 
Posts: 8
Joined: Fri Oct 19, 2012 1:58 am

Re: encrypted pass db

Postby asmecher » Thu Mar 14, 2013 5:46 pm

Hi chayton,

The best way to accomplish this is through the user import/export plugin. I'd suggest looking at that if you haven't already.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: encrypted pass db

Postby chayton » Thu Mar 14, 2013 5:59 pm

asmecher wrote:Hi chayton,

The best way to accomplish this is through the user import/export plugin. I'd suggest looking at that if you haven't already.

Regards,
Alec Smecher
Public Knowledge Project Team

thanks for your response, I know that is the best way, but I need to put users in this way, please help me,
chayton
 
Posts: 8
Joined: Fri Oct 19, 2012 1:58 am

Re: encrypted pass db

Postby JasonNugent » Fri Mar 15, 2013 6:39 am

Hi chayton,

To see how passwords are encrypted in OJS, have a look at the functions that generate them in Validation.inc.php. OJS uses the user name as part of the hashed password.

Regards,
Jason
JasonNugent
Site Admin
 
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 3 guests