Page 1 of 1

Howto...

PostPosted: Mon Sep 16, 2013 7:28 pm
by countermode
Hi,

for all the docs I've read about grsec I'm still wonding how to get RBAC working. Specifically, one can activate grsec RBAC manually with gradm. But how to do it automatically at system boot time?

Moreover, how can I assign a role to a daemon (such that it enters it automatically)?

Thanks for advice.

Re: Howto...

PostPosted: Thu Oct 10, 2013 8:03 pm
by ldunston
See this link for startup/shutdown ideas:

viewtopic.php?f=5&t=2248

There is a nice shutdown role that is available.

To start it automatically add /sbin/gradm -E to rc.local (location will vary pending your *nix flavor).

Create subjects for daemons/processes that you want protected in the grsec policy. Use full learning mode to get a good baseline for a policy. There are docs for doing this.