Skip to contentSkip to conversation

How does SELinux work without roles?

DISCUSSION dE 2 participants 3 messages May 19, 2014 SELinux security module

lore
Share & tools
lore

dE

author
#0 lore raw

RBAC is completely optional in SELinux; however there appears to be no way to specify the allowed types for a particular user without specifying roles.

Without this, there'll be no enforcement.

#1 lore raw
Quoted 3 lines · dE

RBAC is completely optional in SELinux; however there appears to be no way to specify the allowed types for a particular user without specifying roles.

Without this, there'll be no enforcement.

You still need to have user->role and role->type associations, but you can simply have one role and remove any constraints related to roles. You cannot completely disable the RBAC mechanism like you can disable MLS.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
author
#2 lore raw
Quoted 6 lines · Christopher J. PeBenito
Quoted 3 lines · dE

RBAC is completely optional in SELinux; however there appears to be no way to specify the allowed types for a particular user without specifying roles.

Without this, there'll be no enforcement.

You still need to have user->role and role->type associations, but you can simply have one role and remove any constraints related to roles. You cannot completely disable the RBAC mechanism like you can disable MLS.

Ok, thanks for clarifying that.