When I install Nagios Core or NRPE via the rpm, it'll install with the default username nagios and group nagios.
I'd like to do the installation using different username/group. Is there a way to change them after I have installed
them using yum install?
If I cannot do that, if I want to use my own username/group, do I need to install Nagios core and NRPE from source
using my own username/group and then rpmbuild my own pkg if I want to use that pkg on other systems?
Thanks!
username/group change post rpm installation
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: username/group change post rpm installation
No they are built into the RPMyomiko wrote:I'd like to do the installation using different username/group. Is there a way to change them after I have installed
them using yum install?
You can built them from source on each server you need to do this, passing the custom user/group into the ./configure scriptyomiko wrote:If I cannot do that, if I want to use my own username/group, do I need to install Nagios core and NRPE from source
using my own username/group and then rpmbuild my own pkg if I want to use that pkg on other systems?
OR if familiar with making a custom RPM, yes, you can create a spec file with your customization, and create RPM's for each distribution that accepts RPMs to install packages.
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: username/group change post rpm installation
i believe you'll have to compile from source because the RPM's are preset.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: username/group change post rpm installation
Either way you would want to remove the existing installed RPM'stacolover101 wrote:i believe you'll have to compile from source because the RPM's are preset.