I have to admit that I haven’t played with SELinux since a few releases back and there has been a lot of change since then. It’s now so much easier to write modular policy and incorporate that, along with some nice GUI tools to inspect the AVC’s. It’s only been a few hours, but I’m […]Read More →
I love Nagios, but have been having issues with it running under SELinux targeted. I’ve finally made it work with no more AVC’s or other errors (so far!). Here is what I have done to get it to work: Install nagios. sudo yum install nagios sudo yum install ‘nagios-plugins-*’ Make changes to nagios configuration to […]Read More →
I was getting errors (Access Denied) when I tried to check a samba share that had no password (I know – bad practice). Turns out I needed to add a new entry in checkcommands.cfg specifically to test for no password.
command_line $USER1$/check_disk_smb --hostname="$HOSTADDRESS$" --share="$ARG1$" -u "$ARG2$" -p "''" -w 85 -c 95
The trick is passing the nested empty quotes to check_disk_smb. This will make it […]Read More →