I have been trying RBAC by gradm on two fresh os'es like Debian 8, and Centos 7.1. This error is the same on both linux distributions. I just install on new fresh debian and centos and recompile kernel with grsec. When i want to use gradm i got this error:
- Code: Select all
root@Base:~/gradm# gradm -E
Duplicate subject found for "/sbin/shutdown" in role shutdown, on line 295 of /etc/grsec/policy.
"/sbin/shutdown" references the same object as "/sbin/halt" specified on an earlier line.
The RBAC system will not load until this error is fixed.
From vim /etc/grsec/policy
- Code: Select all
295 subject /sbin/shutdown rvkao
296 / rwcdmlxi
297 /dev/initctl rwf
298 /run/initctl rwf
Greetz,