← Back to team overview

dhis2-users team mailing list archive

dhis 2.17 Password Algorithm

 

Hi all,

 

A happy New Year to everyone, and may 2015 be a happy, healthy and
prosperous year for us all!

 

I know related questions have been asked in the past, but I thought this one
worth asking anyway:

 

We need to be able to add a user/password to an instance "externally" to
dhis 2.x - i.e. either through PostgreSQL or by injecting a line into an
.sql dump or something similar.  The instance need not be running at the
time.

If I recall correctly, the algorithm used to encrypt the password in the Db
changed at some point (I may be wrong), so for the purposes of this question
assume that this applies only to versions 2.17 or higher.

A couple of points come to mind:

 

1.       What would be the best way to achieve what we need, in Oslo's
opinion?

2.       Can usernames be assigned to an OrgUnit at the same time?

3.       Can a password be decrypted from an .sql file using the same
algorithm?

 

Many thanks and kind regards,

 

Jason.


Follow ups