照着鸟哥的书想查看一下httpd_enable_homedirs 的具体规则,于是使用了以下命令,并报错了,错误如下:
[root@localhost ~]# sesearch --all -b httpd_enable_homedirs
ERROR: Cannot get avrules: Neverallow rules requested but not available
根据提示,后面尝试了以下不查询neverallow的规则,只查询allow规则,这次没有报错
[root@localhost ~]# sesearch --allow -b httpd_enable_homedirs
Found 72 semantic av rules:
请问各位大大,为什么我的电脑neverallow规则查询不了?