Meek Consulting Websites
Monthly Archives: April 2011
SELINUX local policy creation
Run the command audit2allow -m local -l > local.te < /var/log/audit.log This will generate a local.te file that will have the policy to allow the things denied int he current audit.log You’ll want to review closely to see if those … Continue reading
Run subcommand and return output to variable in PHP
If you need to run a subcommand and pull the output you can use the proc_open like below. Kevin