Skip to contentSkip to conversation

Users

DISCUSSION Salvo Giuffrida 2 participants 2 messages Aug 25, 2006 SELinux security module

lore
Share & tools
lore
#0 lore raw

Good morning, I'm new to SELinux, and I didn't yet understand for what things is used the first part of the security context: the user part. From what I see, the security server uses only the information from the role and the domain/type of the subject/object, to take his decision...So, what's the use of the user part? Thanks a lot

_________________________________________________________________
Blocca le pop-up pubblicitarie con MSN Toolbar! http://toolbar.msn.it/

--
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.

#1 lore raw

Hi Salvo,

Quoted 2 lines

the domain/type of the subject/object, to take his decision...So, what's the use of the user part?

Which roles are acceptable.
A user logged in as user_u for example can never become sysadm_r. unless there is a way for him to switch his identity too, that is. The only identity switch I'm aware of is sysadm_u -> system_u when running init scripts IIRC.

The roles work the same way, they define which types are acceptable. The question I don't know the answer to is why we have these three levels, and not four or two or whatever. ;-)
Probably because they suit our mind model best.
user identity, role, application domain

Regards,
Erich Schubert

Signature · 9 lines
     erich@(mucl.de|debian.org)      --      GPG Key ID: 4B3A135C      (o_
      This one's tricky. You have to use imaginary numbers, like       //\
                       eleventeen... --- Hobbes                        V_/_
 Nur der ist weise, der weiss, dass er es nicht ist. --- Sokrates

--
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.