I would like to understand why the following file and directory are World Writeable, and if it is possible to remove the World Writeable permission, or in the case of the directory at least setting a sticky bit for it, without breaking any usage related to either:
/usr/local/nagiosxi/var/NXTI_Write_Test
/usr/local/nagiosxi/html/includes/components/autodiscovery/jobs
World Writeable Permissions Question
Re: World Writeable Permissions Question
Hi @dxfuentes,
I don't have an insight into the history of the permissions of these files, but looking into their useage you should be fine to remove world permissions from them. I've included a link to our guidance on security hardening, in case you find that helpful at all.
https://answerhub.nagios.com/support/s/ ... stribution
I don't have an insight into the history of the permissions of these files, but looking into their useage you should be fine to remove world permissions from them. I've included a link to our guidance on security hardening, in case you find that helpful at all.
https://answerhub.nagios.com/support/s/ ... stribution
Re: World Writeable Permissions Question
dxfuentes,
While the vast majority of the XI interface won't be affected by changing permissions of the mentioned resources - and you can absolutely do so - it is possible that the SNMP Trap Interface and the Autodiscovery component won't work quite right.
Best Regards,
Cory Norell
While the vast majority of the XI interface won't be affected by changing permissions of the mentioned resources - and you can absolutely do so - it is possible that the SNMP Trap Interface and the Autodiscovery component won't work quite right.
Best Regards,
Cory Norell
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: World Writeable Permissions Question
Are you able to provide more detail as to what processes or user(s) would be writing to the file and directory that are not the nagios user (since owner/group are nagios). Seems concerning that these two allow World Writeable without actual justification. At a minimum, the directory should be set with a sticky bit.cnorell wrote: ↑Thu Dec 12, 2024 10:52 am dxfuentes,
While the vast majority of the XI interface won't be affected by changing permissions of the mentioned resources - and you can absolutely do so - it is possible that the SNMP Trap Interface and the Autodiscovery component won't work quite right.
Best Regards,
Cory Norell