What the relationship of "users" file, "rolemap" file, "appconfig-strict/seusers" file and so on in Reference policy?
Can anyone tell me what the relationship of the following files?
policy/users
policy/rolemap
config/appconfig-strict/seusers
config/appconfig-strict/root_default_contexts
config/appconfig-strict/default_contexts
config/appconfig-strict/default_type
Thanks!
I am configuring a port of Reference policy to SEBSD. I configured the build.conf use strict policy, make reload, login as root. I got the following message:
Your default context is user_u:sysadm_r:sysadm_t. ...:Determining SEBSD label for terminal /dev/ttyv0:Invalid argument
then still promote login:
...............................
--
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 3 lines · root
Can anyone tell me what the relationship of the following files?
policy/users
These are the selinux user identities that are compiled into the policy:
user root roles { sysadm_r staff_r };
Quoted 1 line
policy/rolemap
This is a mapping between roles, prefixes, and user domains, used for expanding per-userdomain templates.
These are installed onto the system and are used by selinux-aware programs:
Quoted 1 line
config/appconfig-strict/seusers
Linux uid -> selinux identity mapping
Quoted 2 lines
config/appconfig-strict/root_default_contexts
config/appconfig-strict/default_contexts
Default contexts mainly for login programs.
Quoted 1 line
config/appconfig-strict/default_type
Default type used in newrole
Quoted 6 lines
I am configuring a port of Reference policy to SEBSD. I configured the build.conf use strict policy, make reload, login as root. I got the following message:
Your default context is user_u:sysadm_r:sysadm_t. ...:Determining SEBSD label for terminal /dev/ttyv0:Invalid argument
I don't know how the SEBSD internals work, so I can't really help on this one.
Signature · 9 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- 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.