Page 1 of 1

Moving /home/nagios to a different location?

Posted: Thu Feb 21, 2013 11:28 am
by disrael
The company I work for has a standard of putting home directories in a different partition called /u01/home, instead of the default /home. Is there an easy way to switch to the company standard or is something we should just have an exception for?

Re: Moving /home/nagios to a different location?

Posted: Thu Feb 21, 2013 11:34 am
by abrist
XI/core does not use the home directory for almost anything other than a cookie file for curl. Feel free to move it, though you may want to symlink it back to /home/nagios just in case. Just a disclaimer: moving/linking any default locations is officially unsupported and your mileage may vary. But, symlinking should be fine.

Re: Moving /home/nagios to a different location?

Posted: Fri Feb 22, 2013 10:19 am
by disrael
So just set the nagios home as /u01/home/nagios in the passwd and then do the following

Code: Select all

cd /u01/home
ln -s  /home/nagios nagios

Re: Moving /home/nagios to a different location?

Posted: Fri Feb 22, 2013 11:23 am
by abrist
Looks fine. Let us know if you run into problems.