From: Klaus Weidner <klaus@atsec.com>
To: Kylene Jo Hall <kjhall@us.ibm.com>
Cc: Tomas Mraz <tmraz@redhat.com>,
redhat-lspp@redhat.com, dwalsh@redhat.com, selinux@tycho.nsa.gov
Subject: Re: [redhat-lspp] Problem SSH-ing into LSPP system with multiple categories
Date: Mon, 29 Jan 2007 11:42:15 -0600 [thread overview]
Message-ID: <20070129174214.GA9224@w-m-p.com> (raw)
In-Reply-To: <1169844884.6956.132.camel@localhost.localdomain>
On Fri, Jan 26, 2007 at 12:54:44PM -0800, Kylene Jo Hall wrote:
> More test data:
>
> ssh testuer/user_r/s#:c0,c1@localhost works for every value of # between
> 0 and 15 except 2.
I can reproduce this, and it appears to be related to label translations.
This is in the /etc/selinux/mls/setrans.conf file:
# Secret level with compartments
s2=Secret
s2:c0=A
s2:c1=B
Commenting out these entries makes login work again.
Failed login:
type=USER_ROLE_CHANGE msg=audit(1170092360.977:951): user pid=2498 uid=0 auid=4294967295 subj=system_u:system_r:sshd_t:s0-s15:c0.c1023 msg='sshd: default-context=staff_u:staff_r:staff_t:s0-s15:c0.c1023 selected-context=staff_u:staff_r:staff_t:Secret:A,B: exe="/usr/sbin/sshd" (hostname=?, addr=?, terminal=? res=failed)'
Successful login (translation commented out):
type=USER_ROLE_CHANGE msg=audit(1170092403.742:991): user pid=2553 uid=0 auid=4294967295 subj=system_u:system_r:sshd_t:s0-s15:c0.c1023 msg='sshd: default-context=staff_u:staff_r:staff_t:s0-s15:c0.c1023 selected-context=staff_u:staff_r:staff_t:s2:c0,c1: exe="/usr/sbin/sshd" (hostname=?, addr=?, terminal=? res=success)'
Is "Secret:A,B" correct syntax?
-Klaus
--
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:[~2007-01-29 17:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1169842300.6956.129.camel@localhost.localdomain>
2007-01-26 20:27 ` [redhat-lspp] Problem SSH-ing into LSPP system with multiple categories Tomas Mraz
[not found] ` <1169844372.6956.130.camel@localhost.localdomain>
2007-01-26 21:10 ` Tomas Mraz
[not found] ` <1169844884.6956.132.camel@localhost.localdomain>
[not found] ` <1169845275.6956.134.camel@localhost.localdomain>
2007-01-26 22:31 ` Daniel J Walsh
2007-01-29 17:42 ` Klaus Weidner [this message]
2007-01-30 2:47 ` Klaus Weidner
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=20070129174214.GA9224@w-m-p.com \
--to=klaus@atsec.com \
--cc=dwalsh@redhat.com \
--cc=kjhall@us.ibm.com \
--cc=redhat-lspp@redhat.com \
--cc=selinux@tycho.nsa.gov \
--cc=tmraz@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.