Page 1 of 1
XI fullinstall - change nagios username?
Posted: Thu May 28, 2020 9:19 am
by GldRush98
Can we change the user account in the install scripts that nagios installs as?
Currently the username "nagios" is used elsewhere in the environment and we are being asked to change this user in the install and run it under a custom user.
Will this work, or will this break other things in nagios?
edit: It is RHEL7 just for the record.
Re: XI fullinstall - change nagios username?
Posted: Thu May 28, 2020 4:17 pm
by ssax
There isn't an easy way to do this and I wouldn't recommend it anyways as a lot of things expect it to be nagios and will likely break. The XI installer doesn't support changing it at this time.
Is the system linked up the domain/ldap? (for SSH login to the system)
Is it failing on install? If so, please post the errors you are seeing.
Re: XI fullinstall - change nagios username?
Posted: Fri May 29, 2020 8:07 am
by GldRush98
Yeah, all users are controlled by a domain so we can't have the nagios user apparently.
Re: XI fullinstall - change nagios username?
Posted: Fri May 29, 2020 2:08 pm
by ssax
If you change your
/etc/nsswitch.conf it will should local first if you set files first in on these lines:
Code: Select all
passwd: files XXX XXX
shadow: files XXX XXX
group: files XXX XXX
The recommendation would be that before you integrate AD/LDAP (or temporarily disable it), install XI first, connect to AD/LDAP, then update your
/etc/nsswitch.conf to look at the local files first. A reboot would be recommended at that point as it will likely pick up the non-local nagios account for some things temporarily once you rejoin/connect the system.
Re: XI fullinstall - change nagios username?
Posted: Fri May 29, 2020 2:20 pm
by GldRush98
Thanks, I will pass this info along.
Re: XI fullinstall - change nagios username?
Posted: Mon Jun 01, 2020 10:20 am
by lmiltchev
@GldRush98, let us know if it is OK to close this topic. Thanks!