[root@ip180 ~]# echo '' > /var/log/audit/audit.log
<run the sudo from web> sudo: unable to send audit message: Permission denied
httpd_sys_script_t
。
[root@ip180 ~]# audit2allow -a #============= httpd_sys_script_t ============== #!!!! This avc is allowed in the current policy allow httpd_sys_script_t admin_home_t:dir getattr;
httpd_sys_script_t
為 permissive。
[root@ip180 ~]# semanage permissive -a httpd_sys_script_t