Announcement

Collapse
No announcement yet.

Reset admin password

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reset admin password

    I just setup Centreon. Everything seems to be ok.
    However i get invalid user when i attempt to login at the webinterface.

    Any ideas? Can i reset the admin account via the database?

    Nagios Version 3.0.3
    Centreon 2.0.2

  • #2
    http://forum.centreon.com/f9/reset-t...assword-t1792/
    Specializing in Open Source Monitoring Solutions
    Nagios / Cacti / Centreon / SNMP

    Comment


    • #3
      for the those who arn't sql inclined, such as myself.

      mysql -u centreon -p
      password: ...

      use centreon;

      show tables;

      select * from contact where contact_alias = 'admin';

      -- generate new md5 password - http://www.trilug.org/~jeremy/md5.php

      UPDATE contact SET contact_passwd = 'MD5 Password' where contact_alias = 'admin';


      -- check to see if it changed.--

      select * from contact where contact_alias = 'admin';

      -- problem fixed.

      Comment


      • #4
        I just noticed that the link sucked that I gave you....... my apologies.

        There is a MD5 function............

        Code:
        UPDATE contact SET contact_passwd = MD5("my_new_password") where contact_alias = 'admin';
        Specializing in Open Source Monitoring Solutions
        Nagios / Cacti / Centreon / SNMP

        Comment

        Working...
        X