Hello, I have a similar issue like this one
http://forums.grsecurity.net/viewtopic.php?f=5&t=4056#p14499.
I want to start RBAC at boot time. Thus I started learning at boot time. I noticed that the default learn_config says
- Code: Select all
inherit-learn /etc/init.d
which will assign all permissions for every system service ever started from /etc/init.d to /etc/init.d. Bad idea. So I disabled this directive which got me almost what I wanted. In order to refine the rule set I tried to enable partial learning at boot time (/sbin/gradm -E -L ...). RBAC is started after the general system setup (mounting disks, starting udev etc.) but before any services (cron, syslog, sshd etc). However...
- Code: Select all
# gradm -D
<correct password>
Invalid password.
# gradm -a admin
<correct password>
Invalid password
# gradm -S
The /dev/grsec device is not properly installed on your system or you are not using a grsecurity kernel.
Brad, what's going on here?