All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Kylene Jo Hall <kjhall@us.ibm.com>
Cc: Tomas Mraz <tmraz@redhat.com>,
	redhat-lspp@redhat.com, selinux@tycho.nsa.gov
Subject: Re: [redhat-lspp] Problem SSH-ing into LSPP system with multiple categories
Date: Fri, 26 Jan 2007 17:31:12 -0500	[thread overview]
Message-ID: <45BA8130.6060408@redhat.com> (raw)
In-Reply-To: <1169845275.6956.134.camel@localhost.localdomain>

Kylene Jo Hall wrote:
> More test data:
>
>
> [root@rheal3a ~]# ssh testuser/user_r/s2:c0@localhost
> Password:
> Last login: Fri Jan 26 14:55:13 2007 from rheal3a.endicott.ibm.com
> -bash-3.1$ id
> uid=501(testuser) gid=501(testuser) groups=501(testuser)
> context=testuser_u:user_r:user_t:A
> -bash-3.1$ exit
> logout
> Connection to localhost closed.
> [root@rheal3a ~]# ssh testuser/user_r/s2:c1@localhost
> Password:
> Last login: Fri Jan 26 14:55:29 2007 from rheal3a.endicott.ibm.com
> -bash-3.1$ id
> uid=501(testuser) gid=501(testuser) groups=501(testuser)
> context=testuser_u:user_r:user_t:B
> -bash-3.1$ exit
> logout
> Connection to localhost closed.
> [root@rheal3a ~]# ssh testuser/user_r/s2:c3@localhost
> Password:
> Last login: Fri Jan 26 14:55:40 2007 from rheal3a.endicott.ibm.com
> -bash-3.1$ id
> uid=501(testuser) gid=501(testuser) groups=501(testuser)
> context=testuser_u:user_r:user_t:s2:c3
> -bash-3.1$ quit
> -bash: quit: command not found
> -bash-3.1$ exit
> logout
> Connection to localhost closed.
> [root@rheal3a ~]# ssh testuser/user_r/s2:c2@localhost
> Password:
> Last login: Fri Jan 26 14:56:05 2007 from rheal3a.endicott.ibm.com
> -bash-3.1$ ls
> -bash-3.1$ id
> uid=501(testuser) gid=501(testuser) groups=501(testuser)
> context=testuser_u:user_r:user_t:s2:c2
> -bash-3.1$ quit
> -bash: quit: command not found
> -bash-3.1$ exit
> logout
> Connection to localhost closed.
> [root@rheal3a ~]# ssh testuser/user_r/s2:c2,c3@localhost
> Password:
> Last login: Fri Jan 26 14:56:22 2007 from rheal3a.endicott.ibm.com
> -bash-3.1$ id
> uid=501(testuser) gid=501(testuser) groups=501(testuser)
> context=testuser_u:user_r:user_t:s2:c2,c3
> -bash-3.1$ exit
> logout
> Connection to localhost closed.
> [root@rheal3a ~]#
>
>
>
> On Fri, 2007-01-26 at 12:54 -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.
>>
>> Thanks,
>> Kylie
>>
>> On Fri, 2007-01-26 at 21:27 +0100, Tomas Mraz wrote:
>>     
>>> On Fri, 2007-01-26 at 12:11 -0800, Kylene Jo Hall wrote:
>>>       
>>>> I have been unable to ssh into an LSPP system with multiple categories.
>>>>
>>>> For example the following work:
>>>> ssh testuser/user_r/s2@localhost
>>>> ssh testuser/user_r/s2:c0@localhost
>>>> ssh testuser/user_r/s2:c1@localhost
>>>>
>>>> But these do not:
>>>> ssh testuser/user_r/s2:c0.c1@localhost
>>>> ssh testuser/user_r/s2:c0,c1@localhost
>>>>
>>>> Policy version: selinux-policy-mls-2.4.6-28.el5
>>>> Kernel version: kernel-2.6.18-1.3015.2.1.el5.lspp.63
>>>>
>>>> We have tested this on multiple architectures to no avail.  Any
>>>> suggestions?
>>>>         
>>> Could you modify LogLevel in /etc/ssh/sshd_config to DEBUG3 and look
>>> into the /var/log/secure what messages are there when the login fails?
>>>
>>>       
>
>   



I am not able to recreate this here.

semanage user -l
semanage login -l
ps -eZ | grep ssh


--
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.

  parent reply	other threads:[~2007-01-26 22:30 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 [this message]
2007-01-29 17:42     ` Klaus Weidner
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=45BA8130.6060408@redhat.com \
    --to=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.