Good Afternoon,
One of my site admins has reset the Admin account to log into the command line/Centos OS for my Nagios XI server.
The web portal works just fine, but I need to log into the command line to do some cleanup & adjust disk size.
Is there anyway to log into the command line to reset the password? I have tried root, nagiosxi, and nagiosadmin accounts with the defaults & our own known passwords...no luck.
Thnx much
Mike
Nagios XI Admin Login Reset
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Nagios XI Admin Login Reset
If I understand the situation correctly, you are going to need to talk to the site admin that changed the password.
Just to clarify though, everything in Nagios works fine, correct?
Just to clarify though, everything in Nagios works fine, correct?
-
GacoAdmin110
- Posts: 33
- Joined: Mon Aug 31, 2015 1:30 pm
Re: Nagios XI Admin Login Reset
Yes, everything is working correctly through the web console.
Unfortunately that particular site admin is no longer with us so I have to find another way. Or I will have to do a full backup & redo the server entirely...ugh.
Thnx
Unfortunately that particular site admin is no longer with us so I have to find another way. Or I will have to do a full backup & redo the server entirely...ugh.
Thnx
Re: Nagios XI Admin Login Reset
You can try something like this:
https://access.redhat.com/documentation ... asswd.html
But I need to stress that this is out of scope of our support and is not guaranteed/recommended/suggested/etc.
https://access.redhat.com/documentation ... asswd.html
But I need to stress that this is out of scope of our support and is not guaranteed/recommended/suggested/etc.
Former Nagios employee
Re: Nagios XI Admin Login Reset
I would like to add to this discussion:
We just terminated an employee who had only setup himself as administrator, no one else has ANY access. We cannot login to the web portal, is there a way around this? We may have the root password to the CentOS box.
Thanks!!
We just terminated an employee who had only setup himself as administrator, no one else has ANY access. We cannot login to the web portal, is there a way around this? We may have the root password to the CentOS box.
Thanks!!
Re: Nagios XI Admin Login Reset
If you do have access, there is a reset script located at /usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php:
Code: Select all
[root@localhost scripts]# ./reset_nagiosadmin_password.php
Nagios XI Admin Password Reset Tool
Copyright (c) 2016 Nagios Enterprises, LLC
Usage: ./reset_nagiosadmin_password.php --password=<newpassword>
Resets password used to login to the Nagios XI interface as the nagiosadmin user.
Former Nagios employee
Re: Nagios XI Admin Login Reset
I do what I can :)
Going to lock this up now though since the web account reset script has been shared, and we can't much help with a locked-out root account.
Going to lock this up now though since the web account reset script has been shared, and we can't much help with a locked-out root account.
Former Nagios employee