From: Stephen Smalley <sds@tycho.nsa.gov>
To: "c.r.madhusudhanan@gmail.com" <c.r.madhusudhanan@gmail.com>
Cc: dwalsh@redhat.com, SELinux@tycho.nsa.gov
Subject: Re: Wrong context for user
Date: Fri, 01 Jul 2011 12:17:37 -0400 [thread overview]
Message-ID: <1309537057.31276.28.camel@moss-pluto> (raw)
In-Reply-To: <1309528564.31276.26.camel@moss-pluto>
On Fri, 2011-07-01 at 09:56 -0400, Stephen Smalley wrote:
> On Fri, 2011-06-24 at 14:44 +0000, c.r.madhusudhanan@gmail.com wrote:
> > Thanks Daniel, Stephen.
> >
> > I am able to get init_t, local_login_t for init, and login
> > respectively.
> > The mistake was tat I missed relabeling the file system, so all the
> > executable was in the type file_t.
> >
> > But it looks my problem still remains somehow, so that when I try
> > login it still shows me wrong domain/type.
> >
> > When I login using 'login' (tty1), the context shows as
> > user_u:user_r:chkpwd_t and when I check in the X (auto login to user
> > 'meego' using 'uxlaunch') shows as user_u:user_r:consoletype_t.
> >
> > Attached is the "ps -aeZ" after relabeling the system.
>
> Going back to this ps output, I think you'll need some policy changes to
> support MeeGo's uxlaunch approach to starting a user desktop. You need
> uxlaunch to transition into a domain suitable for user login like xdm_t
> (used for gdm/xdm/kdm) rather than running in init_t or we won't get the
> expected transitions for user domains.
And given that, you might want to take this conversation over to the
refpolicy list as it becomes a policy configuration issue for MeeGo.
http://oss.tresys.com/mailman/listinfo/refpolicy
--
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.
next prev parent reply other threads:[~2011-07-01 16:17 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-24 12:04 Wrong context for user c.r.madhusudhanan
2011-06-24 12:53 ` Daniel J Walsh
2011-06-24 12:57 ` Stephen Smalley
2011-06-24 13:44 ` c.r.madhusudhanan
2011-06-24 13:55 ` Daniel J Walsh
2011-06-24 14:11 ` Stephen Smalley
2011-06-24 14:44 ` c.r.madhusudhanan
2011-06-24 14:48 ` Stephen Smalley
2011-06-24 14:52 ` c.r.madhusudhanan
2011-06-24 15:09 ` Stephen Smalley
2011-06-24 15:50 ` c.r.madhusudhanan
2011-06-24 21:26 ` Sam Gandhi
2011-06-28 15:34 ` c.r.madhusudhanan
2011-07-01 13:23 ` Stephen Smalley
2011-07-01 13:50 ` Stephen Smalley
2011-07-05 14:43 ` c.r.madhusudhanan
2011-07-01 13:56 ` Stephen Smalley
2011-07-01 16:17 ` Stephen Smalley [this message]
2011-07-06 14:14 ` c.r.madhusudhanan
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=1309537057.31276.28.camel@moss-pluto \
--to=sds@tycho.nsa.gov \
--cc=SELinux@tycho.nsa.gov \
--cc=c.r.madhusudhanan@gmail.com \
--cc=dwalsh@redhat.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.