Page 1 of 1

Clarification on Offline Installation user

Posted: Tue Jun 27, 2017 3:03 pm
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

Re: Clarification on Offline Installation user

Posted: Tue Jun 27, 2017 3:07 pm
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?

Re: Clarification on Offline Installation user

Posted: Tue Jun 27, 2017 3:46 pm
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

Re: Clarification on Offline Installation user

Posted: Tue Jun 27, 2017 3:56 pm
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.