Recommended check_nrpe permissions
Posted: Wed Aug 08, 2018 12:34 pm
Hi,
What are the recommended permissions for the file "/usr/local/nagios/libexec/check_nrpe" ?
When installing using the linux-agent script (https://assets.nagios.com/downloads/nag ... ent.tar.gz) , it seems that it does the following:
However, when compiling from source, the permissions are
We were updating the nrpe agent to v3 using https://support.nagios.com/kb/article.php?id=520 . Nrpe agent was previously installed using the linux-agent (nagiosxi agent script). It means it uses Xinetd.
What are the optimal permissions for "/usr/local/nagios/libexec/check_nrpe" in terms of security?
Thanks!
What are the recommended permissions for the file "/usr/local/nagios/libexec/check_nrpe" ?
When installing using the linux-agent script (https://assets.nagios.com/downloads/nag ... ent.tar.gz) , it seems that it does the following:
Code: Select all
chmod 755 /usr/local/nagios/libexec/*
chown root:nagios /usr/local/nagios/libexec/*Code: Select all
# stat /usr/local/nagios/libexec/check_nrpe
File: `/usr/local/nagios/libexec/check_nrpe'
Size: 132384 Blocks: 264 IO Block: 4096 regular file
Device: 802h/2050d Inode: 7609249 Links: 1
Access: (0775/-rwxrwxr-x) Uid: ( 502/ nagios) Gid: ( 504/ nagios)
Access: 2018-08-08 19:23:58.419950791 +0200
Modify: 2018-08-08 19:12:12.494951418 +0200
Change: 2018-08-08 19:12:12.494951418 +0200
Owner: nagios
Group: nagios
Access: 775
What are the optimal permissions for "/usr/local/nagios/libexec/check_nrpe" in terms of security?
Thanks!