Clarification on Offline Installation user

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
djohansen
Posts: 48
Joined: Tue Jan 31, 2017 4:59 pm

Clarification on Offline Installation user

Post by djohansen »

I am double checking on which user should be used when doing an offline install.

Should it be the root user or the nagios user??

The reason I am asking is that I ended up with a bunch of weird permissions issues after I did an offline install (I installed as root.)

Thanks!

-D
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Clarification on Offline Installation user

Post by dwhitfield »

Yes, it should be root. Are you running selinux or have you modified your sudoers? Were you in /tmp/rpms when you ran the upgrade?
djohansen
Posts: 48
Joined: Tue Jan 31, 2017 4:59 pm

Re: Clarification on Offline Installation user

Post by djohansen »

Yes, our sudoers is all customized.. I am going to make sure sudoers is all set up properly before I install again..
I am getting ready to run another offline install to test it before we start rolling out into production, and I want to make sure I have all my ducks in a row..
Yes I was in /tmp/rpms.. I'll have to check on the selinux..

Thanks,

-Dave
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Clarification on Offline Installation user

Post by dwhitfield »

It seems like you probably got things working with your modified sudoers, but what I would do is keep the default sudoers in place and use that for upgrades. It's going to fail a lot of a modified sudoers. Same thing with SELinux. We know people can get it working, but just turn if off for the upgrade and then turn it back on.

That said, in general modified sudoers can cause a lot of problems, such as profile generation errors and inability to Apply Configuration.
Locked