From: Stephen Smalley <sds@tycho.nsa.gov>
To: Andy Warner <warner@rubix.com>
Cc: SELinux@tycho.nsa.gov
Subject: Re: Login context for a VNC connection
Date: Tue, 06 Mar 2012 15:47:06 -0500 [thread overview]
Message-ID: <1331066826.26027.134.camel@moss-pluto> (raw)
In-Reply-To: <4F567572.5060705@rubix.com>
On Tue, 2012-03-06 at 21:37 +0100, Andy Warner wrote:
> 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.
--
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
prev parent reply other threads:[~2012-03-06 20:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-06 20:37 Login context for a VNC connection Andy Warner
2012-03-06 20:47 ` Stephen Smalley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1331066826.26027.134.camel@moss-pluto \
--to=sds@tycho.nsa.gov \
--cc=SELinux@tycho.nsa.gov \
--cc=warner@rubix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.