Adding roles to the Gentoo Hardened SELinux policy

adding-roles-to-the-gentoo-hardened-selinux-policy

Sven Vermeulen Tue 14 August 2012

I wrote a small section on how to create additional roles to the SELinux policy offered by Gentoo Hardened. Whereas the default policy that we provide only offers a few basic roles, any policy administrator can provide additional roles for the system.

By using additional roles, you can grant users administrative rights to particular services without risking having them elevate their privileges to root (+ sysadmin). You should even allow them to get a root shell while remaining confined within their domain (and role).