default_context file
Quoted 7 lines
I've don't understand the new
default_contextfile. Could anybody explain it? I understand the entries for login and ssh, but the line for the crond I to stupid.
The crond can use both partial context (user_r:user_crond_t and system_r:system_crond_t) but I don't unterstand the selection mechanism.
The daemons (crond, sshd) and login ask the in-kernel security server to compute the set of legal SIDs for the user that can be reached from their own SID, and then uses the optional /etc/security/default_contexts and $HOME/.default_contexts files to determine a default when multiple SIDs are possible. crond is a little different than sshd and login since it also has a special case for system cron jobs. A partial context in a default_contexts file is ignored if it doesn't exist in the set of legal SIDs returned by the security server.
--
Stephen Smalley, NSA
[email protected]
--
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.