Skip to contentSkip to conversation

attributes for roles?

DISCUSSION Russell Coker 1 participant 1 message Oct 2, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

I've just setup a machine with 5 different user roles. I want to allow administrative accounts to assume any of those roles. This requires that as each role is added the users file be updated for all administrative identities.

It would be a lot easier to have the following in the users file:
user root roles { sysadm_r user_roles };

Then in user.te:
allow system_r user_roles;
allow sysadm_r user_roles;

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.