Hi all.
How do I reset the core config manager password? I tried using the "Reset Security Credentials" but it doesn't work. Every time I go to Core Config Manager page, it instantly tells me "Login Failed!" before I enter any credentials. I've tried a plethora of passwords including the default ones but nothing works.
Reset Core Config Manager password
-
cwscribner
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Reset Core Config Manager password
Last edited by cwscribner on Thu Aug 11, 2011 12:41 pm, edited 1 time in total.
Re: Reset Core Config Manager password
You could see what nagiosql is thinking your password is by running this command:
mysql -u root -pnagiosxi nagiosql -e "SELECT password FROM tbl_user WHERE username='nagiosadmin';"
That should return the md5 of password, which you can plugin to a site like http://www.stringfunction.com/md5-decrypter.html .
And just for clarification, you mean "Reset Security Credentials" on the Admin page of Nagios XI correct?
mysql -u root -pnagiosxi nagiosql -e "SELECT password FROM tbl_user WHERE username='nagiosadmin';"
That should return the md5 of password, which you can plugin to a site like http://www.stringfunction.com/md5-decrypter.html .
And just for clarification, you mean "Reset Security Credentials" on the Admin page of Nagios XI correct?
Nicholas Scott
Former Nagios employee
Former Nagios employee
-
cwscribner
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: Reset Core Config Manager password
Right, "Reset Security Credentials" on the admin page didn't work. I used your suggestion to figure out the old password then updated it after logging into the core config manager.
Re: Reset Core Config Manager password
It seems odd that updating the CCM password through the Admin menu didn't work. Have you changed the DB password for any of the subsystem accounts on your machine? The DB usernames and passwords that XI uses internally are located in the /usr/local/nagiosxi/html/config.inc.php file. Can you verify that these haven't been changed or updated?
-
cwscribner
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: Reset Core Config Manager password
Ah, your reply just triggered a thought. I attempted to login to the Config Manager after going through part of the process for offloading mysql. I altered the nagiosql and ndoutils arrays per the documentation. This is probably something that should be added to the documentation as it stopped me from completing my last step of the offloading mysql process.
Re: Reset Core Config Manager password
Good to know, thanks for the heads up!