Home | History | Annotate | Download | only in man5
"user_contexts" "5" "28 2011" "Security Enhanced Linux" " SELinux"
""
user_contexts - SELinux- SELinux .
""
, SELinux , , PAM (8) ( ), , . SELinux libselinux, : get_default_context (3) get_ordered_context_list (3) get_ordered_context_list_with_level (3) get_default_context_with_level (3) get_default_context_with_role (3) get_default_context_with_rolelevel (3) query_user_context (3) manual_user_enter_context (3) SELinux . , \%selinux_user_contexts_path (3) , SELinux, : /etc/selinux/{SELINUXTYPE}/contexts/users/unconfined_u /etc/selinux/{SELINUXTYPE}/contexts/users/xguest_u {SELINUXTYPE} - selinux config (. selinux_config(5)). . .
" "
: login_process user_login_process : login_process role:type[:range], . user_login_process role:type[:range], . .
""
# xguest_u /etc/selinux/targeted/contexts/users/xguest_u system_r:crond_t:s0 xguest_r:xguest_t:s0 system_r:initrc_t:s0 xguest_r:xguest_t:s0 system_r:local_login_t:s0 xguest_r:xguest_t:s0 system_r:remote_login_t:s0 xguest_r:xguest_t:s0 system_r:sshd_t:s0 xguest_r:xguest_t:s0 system_r:xdm_t:s0 xguest_r:xguest_t:s0 xguest_r:xguest_t:s0 xguest_r:xguest_t:s0 .
" "
.ad l .nh selinux "(8), " selinux_user_contexts_path "(3), " PAM "(8), " get_ordered_context_list "(3), " get_ordered_context_list_with_level "(3), " get_default_context_with_level "(3), " get_default_context_with_role "(3), " get_default_context_with_rolelevel "(3), " query_user_context "(3), " manual_user_enter_context "(3), " selinux_config "(5) "
<gammaray (at] basealt.ru>.