I cannot execute gradm in the learning mode because of "missing" default role. But where shoud I put a default role ? I have one in /etc/grsec/policy (used from default install) but does the learning mode really use this file?
Where should I put the default role ? It happened only with latest grsec & gradm
>gradm -F -L /root/grsec/initial_raw_log
There is no default role present in your configuration.
Please read the RBAC documentation and create a default role before attempting to enable the RBAC system.
uname -a
Linux gate 2.6.18-grsec #1
gradm -v
gradm v2.1.9
(gradm-2.1.9-200609230939.tar.gz used)
>cat /etc/grsec/policy
role admin sA
subject / rvka
/ rwcdmlxi
role default G
role_transitions admin
subject /
/ r
......
Petr