Menu

admin password reset

Marko
2012-04-10
2017-11-28
  • Marko

    Marko - 2012-04-10

    How do I reset the admin password if lost?

     
  • Manuel Rego Casasnovas

    Get a psql shell (typically, the password is 'libreplan' you can find it in /etc/tomcat6/Catalina/localhost/libreplan.xml file):

    $ psql -U libreplan -h localhost -W libreplan
    

    and enter the next SQL sentence:

    UPDATE user_table set password = 'e02a1a8809e830cf7b7c875e43c16e684ed02a818c7ac25aeadd515432f908ea041447720c194d6b0ec19a1c3dd97f7b378efaab4dd8efd46de568adf3f44c9a' WHERE login_name = 'admin';
    

    Take special care with blanks and spaces.

    Bye,
       Rego

     
  • Marko

    Marko - 2012-04-10

    thank you, that worked :-)

     
  • Nobody/Anonymous

    That worked for me too, but the password wasn't libreplan and that file wasnt there, so first I did:

    sudo passwd postgres
    su postgres -c psql
    alter USER libreplan WITH PASSWORD 'libreplan';

    Then your trick worked.

     
  • ibrahim ali aslan

    hello dear,
    I installed to manuel. and when I write browser "localhost:8080/libreplan/" and entered username/password admin/admin. I got "incorrect authentication". How I solve the problem. please help me

     

Log in to post a comment.