Moving /home/nagios to a different location?
Moving /home/nagios to a different location?
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?
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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Moving /home/nagios to a different location?
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 nagiosRe: Moving /home/nagios to a different location?
Looks fine. Let us know if you run into problems.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.