can't login to centreon

IT Toonz it.toonz at gmail.com
Fri Sep 3 05:59:56 CEST 2010


Hi Kyle,

 

Still not working L

 

This is how we tried, please let us know if we made any mistakes.

 

>From the prompt.

 

[root at nagios ~]# mysql

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 42037

Server version: 5.0.77 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> use centreon2

Reading table information for completion of table and column names

You can turn off this feature to get a quicker startup with -A

Database changed

mysql> #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 192.168.3.241

mysql>

 

and like this....

 

[root at nagios ~]# #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%root%'" | mysql -u root -p centreon2 -h 192.168.3.241

 

Tried with centreonadmin and root, with password centreon, can’t login.... L

 

We might have to reinstall and configure everthing....

 

Please advice...

Regards

Ananth.

 

 

-----Original Message-----
From: Kyle Bader [mailto:kyle.bader at gmail.com] 
Sent: 02 September 2010 21:22
To: Nagios Users List
Subject: Re: [Nagios-users] can't login to centreon

 

> Thanks for the continued support...

> 

> Please look at the centreon.conf.php file... seems user is “root” we tried

> root and all passwords which we could think of...

 

You use this information combined with the command from earlier to

reset the password hash:

 

echo "update contact set contact_passwd =

'2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like

'%centreonadmin%'" | mysql -u root -p centreon2 -h 127.0.0.1

 

If you didn't censor the password and the value really is "" then you

probably only need to press enter when prompted for the password (from

the command above).  This is terribly insecure and should be changed

at some point.

 

-- 

 

Kyle

 

------------------------------------------------------------------------------

This SF.net Dev2Dev email is sponsored by:

 

Show off your parallel programming skills.

Enter the Intel(R) Threading Challenge 2010.

http://p.sf.net/sfu/intel-thread-sfd

_______________________________________________

Nagios-users mailing list

Nagios-users at lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/nagios-users

::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 

::: Messages without supporting info will risk being sent to /dev/null

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100903/fb13ec76/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list