Skip to contentSkip to conversation

default user role

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

lore
Share & tools
lore
#0 lore raw

I believe that the identity "user_u" should not be permitted any roles but the least priviledged. So that means that the "user_r" role should not be the one for typical logins that matter.

I propose that we change the default policy to have the following:
full_user_role(user_unpriv)

And then change the in_user_role() macro in macros/user_macros.te to use user_unpriv_r.

Then the users file needs to have:
user user_u roles user_unpriv_r;

The default contexts and cron_contexts files also need to be modified accordingly.

I have some good reasons for this that I don't want to discuss right now...

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.