[Dhis2-devs] Problem log-in

2015-09-01 Thread channara rin
Hi all dhis2,
Can you help me what is problem login page, i can't log in with admin
account. What should i do?
[image: Inline image 1]
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Problem log-in

2015-09-01 Thread Morten Olav Hansen
Hi

That error message just means wrong password.. bad credentials

--
Morten

On Tue, Sep 1, 2015 at 2:51 PM, channara rin  wrote:

> Hi all dhis2,
> Can you help me what is problem login page, i can't log in with admin
> account. What should i do?
> [image: Inline image 1]
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Problem log-in

2015-09-01 Thread Knut Staring
Excellent. However, why is this different from the password discussed in
Gerald's thread with Alan and Jason?

$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2
$2a$10$wjLPViry3bkYEcjwGRqnYO1bT2Kl.ZY0kO.fwFDfMX53hitfx5.3C

Knut

On Tue, Sep 1, 2015 at 11:00 AM, channara rin 
wrote:

> Yes, now it work fine
>
> thank Lars, Morten
>
> On Tue, Sep 1, 2015 at 3:23 PM, Lars Helge Øverland 
> wrote:
>
>> Hi Channara,
>>
>> do this to set password to district for user admin:
>>
>> update users set
>> password='$2a$10$wjLPViry3bkYEcjwGRqnYO1bT2Kl.ZY0kO.fwFDfMX53hitfx5.3C'
>> where username='admin';
>>
>> Then restart tomcat to make sure the application cache is cleared.
>>
>> Then log in with admin/district.
>>
>> regards,
>>
>> Lars
>>
>>
>>
>> On Tue, Sep 1, 2015 at 10:17 AM, channara rin 
>> wrote:
>>
>>> No! i don't have any account more.
>>>
>>> On Tue, Sep 1, 2015 at 3:13 PM, channara rin 
>>> wrote:
>>>
 But it still display log-in page.

 On Tue, Sep 1, 2015 at 3:13 PM, channara rin 
 wrote:

> Hi Morten,
> I go to database schema and change value of attribute: "Password" to
> value:"*$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2*
> "="district"
>
>
> On Tue, Sep 1, 2015 at 2:55 PM, Morten Olav Hansen  > wrote:
>
>> Hi
>>
>> That error message just means wrong password.. bad credentials
>>
>> --
>> Morten
>>
>> On Tue, Sep 1, 2015 at 2:51 PM, channara rin 
>> wrote:
>>
>>> Hi all dhis2,
>>> Can you help me what is problem login page, i can't log in with
>>> admin account. What should i do?
>>> [image: Inline image 1]
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>

>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> http://www.dhis2.org 
>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Problem log-in

2015-09-01 Thread channara rin
Yes, now it work fine

thank Lars, Morten

On Tue, Sep 1, 2015 at 3:23 PM, Lars Helge Øverland 
wrote:

> Hi Channara,
>
> do this to set password to district for user admin:
>
> update users set
> password='$2a$10$wjLPViry3bkYEcjwGRqnYO1bT2Kl.ZY0kO.fwFDfMX53hitfx5.3C'
> where username='admin';
>
> Then restart tomcat to make sure the application cache is cleared.
>
> Then log in with admin/district.
>
> regards,
>
> Lars
>
>
>
> On Tue, Sep 1, 2015 at 10:17 AM, channara rin 
> wrote:
>
>> No! i don't have any account more.
>>
>> On Tue, Sep 1, 2015 at 3:13 PM, channara rin 
>> wrote:
>>
>>> But it still display log-in page.
>>>
>>> On Tue, Sep 1, 2015 at 3:13 PM, channara rin 
>>> wrote:
>>>
 Hi Morten,
 I go to database schema and change value of attribute: "Password" to
 value:"*$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2*
 "="district"


 On Tue, Sep 1, 2015 at 2:55 PM, Morten Olav Hansen 
 wrote:

> Hi
>
> That error message just means wrong password.. bad credentials
>
> --
> Morten
>
> On Tue, Sep 1, 2015 at 2:51 PM, channara rin 
> wrote:
>
>> Hi all dhis2,
>> Can you help me what is problem login page, i can't log in with admin
>> account. What should i do?
>> [image: Inline image 1]
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> http://www.dhis2.org 
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Problem log-in

2015-09-01 Thread Halvdan Grelland
They should be different. Bcrypt (or any sane pw hashing scheme for that
matter) uses a random salt per run (which is embedded in the resulting
string).

2015-09-01 11:06 GMT+02:00 Knut Staring :

> Excellent. However, why is this different from the password discussed in
> Gerald's thread with Alan and Jason?
>
> $2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2
> $2a$10$wjLPViry3bkYEcjwGRqnYO1bT2Kl.ZY0kO.fwFDfMX53hitfx5.3C
>
> Knut
>
> On Tue, Sep 1, 2015 at 11:00 AM, channara rin 
> wrote:
>
>> Yes, now it work fine
>>
>> thank Lars, Morten
>>
>> On Tue, Sep 1, 2015 at 3:23 PM, Lars Helge Øverland 
>> wrote:
>>
>>> Hi Channara,
>>>
>>> do this to set password to district for user admin:
>>>
>>> update users set
>>> password='$2a$10$wjLPViry3bkYEcjwGRqnYO1bT2Kl.ZY0kO.fwFDfMX53hitfx5.3C'
>>> where username='admin';
>>>
>>> Then restart tomcat to make sure the application cache is cleared.
>>>
>>> Then log in with admin/district.
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>>
>>> On Tue, Sep 1, 2015 at 10:17 AM, channara rin 
>>> wrote:
>>>
 No! i don't have any account more.

 On Tue, Sep 1, 2015 at 3:13 PM, channara rin 
 wrote:

> But it still display log-in page.
>
> On Tue, Sep 1, 2015 at 3:13 PM, channara rin 
> wrote:
>
>> Hi Morten,
>> I go to database schema and change value of attribute: "Password" to
>> value:"*$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2*
>> "="district"
>>
>>
>> On Tue, Sep 1, 2015 at 2:55 PM, Morten Olav Hansen <
>> morte...@gmail.com> wrote:
>>
>>> Hi
>>>
>>> That error message just means wrong password.. bad credentials
>>>
>>> --
>>> Morten
>>>
>>> On Tue, Sep 1, 2015 at 2:51 PM, channara rin >> > wrote:
>>>
 Hi all dhis2,
 Can you help me what is problem login page, i can't log in with
 admin account. What should i do?
 [image: Inline image 1]


 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp


>>>
>>
>

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp


>>>
>>>
>>> --
>>> Lars Helge Øverland
>>> Lead developer, DHIS 2
>>> University of Oslo
>>> Skype: larshelgeoverland
>>> http://www.dhis2.org 
>>>
>>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Problem log-in

2015-09-01 Thread Knut Staring
What has changed since the last time? Do you have another account with
superuSer privileges?
On Sep 1, 2015 9:59 AM, "channara rin"  wrote:

> Hi all dhis2,
> Can you help me what is problem login page, i can't log in with admin
> account. What should i do?
> [image: Inline image 1]
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Problem log-in

2015-09-01 Thread channara rin
But it still display log-in page.

On Tue, Sep 1, 2015 at 3:13 PM, channara rin  wrote:

> Hi Morten,
> I go to database schema and change value of attribute: "Password" to
> value:"*$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2*
> "="district"
>
>
> On Tue, Sep 1, 2015 at 2:55 PM, Morten Olav Hansen 
> wrote:
>
>> Hi
>>
>> That error message just means wrong password.. bad credentials
>>
>> --
>> Morten
>>
>> On Tue, Sep 1, 2015 at 2:51 PM, channara rin 
>> wrote:
>>
>>> Hi all dhis2,
>>> Can you help me what is problem login page, i can't log in with admin
>>> account. What should i do?
>>> [image: Inline image 1]
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Problem log-in

2015-09-01 Thread channara rin
Hi Morten,
I go to database schema and change value of attribute: "Password" to value:"
*$2a$10$iig96L.lNFPYgt9Go0bJGuJ2A5Sdqid17wV/xwEHlq.cCDYXdGFG2*"="district"


On Tue, Sep 1, 2015 at 2:55 PM, Morten Olav Hansen 
wrote:

> Hi
>
> That error message just means wrong password.. bad credentials
>
> --
> Morten
>
> On Tue, Sep 1, 2015 at 2:51 PM, channara rin 
> wrote:
>
>> Hi all dhis2,
>> Can you help me what is problem login page, i can't log in with admin
>> account. What should i do?
>> [image: Inline image 1]
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp