Login context for a VNC connection
I am trying to configure the login context for a user connection through Tiger VNC. I am using RHEL6 with the MLS policy, fully updated. Currently I am getting:
system_u:system_r:initrc_t:SystemLow-SystemHigh
This does not seem correct. Can someone please give me information on hos this context is calculated and how I can configure it so the user receives a context of my choosing.
Thanks,
Andy Warner
Quoted 9 lines · Andy Warner
I am trying to configure the login context for a user connection through Tiger VNC. I am using RHEL6 with the MLS policy, fully updated. Currently I am getting:
system_u:system_r:initrc_t:SystemLow-SystemHigh
This does not seem correct. Can someone please give me information on hos this context is calculated and how I can configure it so the user receives a context of my choosing.
Most likely means that the Tiger VNC server is not labeled, thus left in the caller's context (initrc_t), and either does not try to set the user session context at all (i.e. no pam_selinux in its pam config) or fails to determine a context because it is starting from a context that is not specified as part
of /etc/selinux/$SELINUXTYPE/contexts/default_contexts.
Signature · 8 lines
Stephen Smalley National Security Agency -- 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.