dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24664
Re: Why is admin/district no longer available for an empty DB??
Thanks Lai,
I will test and confirm.
---
Sam
On Wed, Sep 18, 2013 at 9:12 AM, Nguyen Kim Lai
<lai.hispvietnam@xxxxxxxxx>wrote:
> Hi Knut and Sam,
> I have just removed the anonymous account. Could you please test it again
> on trunk version?
>
> Regards,
>
>
> On Wed, Sep 18, 2013 at 11:26 AM, Nguyen Kim Lai <
> lai.hispvietnam@xxxxxxxxx> wrote:
>
>> HI Knut,
>>
>> Actually I don't want the anonymous account to be logged in. The
>> anonymous account is used for only one purpose: the subject of the SMS from
>> anonymous user to DHIS2 system, this case happens when a person who is not
>> DHIS2 user, and he/she wants to registered as a DHIS2 user, the he/she will
>> send an SMS using SMS command. For example the content of SMS when we read
>> out would be: "anonymous - Hi DHIS2 admin, please register me as a DHIS2
>> user, I'm from ABC village, work for XYZ department".
>>
>> By the way, let me remove it, and we will see it is because of it or not.
>>
>> Regards,
>>
>>
>> On Wed, Sep 18, 2013 at 11:17 AM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>
>>> Hi Lai, it should be ok to add it, but it seems we have lost the admin
>>> user. Also, you would need to encrypt the password, and not store it as
>>> plain text in the db, that does not work for logging in.
>>>
>>> k
>>>
>>>
>>> On Wed, Sep 18, 2013 at 11:14 AM, Nguyen Kim Lai <
>>> lai.hispvietnam@xxxxxxxxx> wrote:
>>>
>>>> Hi Knut,
>>>> I have added anonymous user recently. The system will create anonymous
>>>> user whenever tomcat starts. I am not sure whether this may cause the login
>>>> fail with admin account. I will remove it, and let's see if this bug still
>>>> exist
>>>>
>>>> Regards,
>>>> Lai
>>>>
>>>>
>>>> On Wed, Sep 18, 2013 at 11:09 AM, Knut Staring <knutst@xxxxxxxxx>wrote:
>>>>
>>>>> Ok, I also tried trunk with an empty db now, and like Easy says, all
>>>>> you get is a user called anonymous. I have no idea what the password would
>>>>> be, it is listed as "anonymous" in the encrypted field of the db
>>>>>
>>>>> This seems like a newly introduced bug?
>>>>>
>>>>> Knut
>>>>>
>>>>> On Mon, Sep 16, 2013 at 3:33 PM, easy <lin_xd@xxxxxxx> wrote:
>>>>>
>>>>>> Hi,sir,
>>>>>>
>>>>>> I can't login into system after startup. using trunk version,
>>>>>> empty DB.
>>>>>> anter enter password, no responese, url changed into:
>>>>>>
>>>>>>
>>>>>> http://localhost:8080/dhis/dhis-web-commons/security/login.action?failed=true
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 此致
>>>>>>
>>>>>> easy
>>>>>>
>>>>>> 莫愁前路无知己,天下谁人不识君。
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>> More help : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Knut Staring
>>>>> Dept. of Informatics, University of Oslo
>>>>> +4791880522
>>>>> http://dhis2.org
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Lai
>>>> Dhis Mobile
>>>> +84944485878
>>>>
>>>
>>>
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> +4791880522
>>> http://dhis2.org
>>>
>>
>>
>>
>> --
>> Lai
>> Dhis Mobile
>> +84944485878
>>
>
>
>
> --
> Lai
> Dhis Mobile
> +84944485878
>
References