From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: Wrong context for user From: Stephen Smalley To: "c.r.madhusudhanan@gmail.com" Cc: dwalsh@redhat.com, SELinux@tycho.nsa.gov In-Reply-To: References: <1308920243.15355.55.camel@moss-pluto> <1308924690.15355.72.camel@moss-pluto> Content-Type: text/plain; charset="UTF-8" Date: Fri, 24 Jun 2011 10:48:10 -0400 Message-ID: <1308926890.15355.74.camel@moss-pluto> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov 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. What does your default_contexts file contain? -- 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.