Capabilities in SELinux
Helo.
I have a doubt about the use of the capabilities in the SELinux.
Why to use capabilities (setuid, setgid, etc) in the SELinux, if the identity of the user is irrelevant ?
Very thanks.
Signature · 10 lines
Carlos Anisio Monteiro <[email protected]> IPEN/CNEN-SP Sao Paulo - Brasil -- 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.
Quoted 4 lines · Carlos Anísio Monteiro
I have a doubt about the use of the capabilities in the SELinux.
Why to use capabilities (setuid, setgid, etc) in the SELinux, if the identity of the user is irrelevant ?
The UID of the user is not relevant to SE Linux access controls. SE Linux maintains it's own concept of user "Identity" which is used as part of it's process of determining when to grant access.
The UID is important for DAC (Unix permissions). When running SE Linux you will often want to have two users with different Unix UIDs in the same SE Linux role, but not grant them full access to each other's files. Restricting setuid and setgid is useful for this.
Signature · 11 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.