All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Orion Poplawski <orion@cora.nwra.com>, SE Linux <selinux@tycho.nsa.gov>
Subject: Re: SElinux troubles
Date: Mon, 28 Sep 2009 16:17:23 -0400	[thread overview]
Message-ID: <4AC119D3.5070107@redhat.com> (raw)
In-Reply-To: <4AC118EC.6090707@cora.nwra.com>

On 09/28/2009 04:13 PM, Orion Poplawski wrote:
> On 09/28/2009 01:03 PM, Daniel J Walsh wrote:
>> On 09/22/2009 11:49 AM, Orion Poplawski wrote:
>>> On 09/22/2009 09:12 AM, Daniel J Walsh wrote:
>>>> On 09/22/2009 07:25 AM, Orion Poplawski wrote:
>>>>> On 09/21/2009 08:32 PM, Daniel J Walsh wrote:
>>>>>> Do you have labels on the rest of the system?  Do you have seedit
>>>>>> installed?
>>>>>
>>>>> Yes, e.g.:
>>>>>
>>>>> # ls -Za /etc/ssh
>>>>> drwxr-xr-x  root root system_u:object_r:etc_t          .
>>>>> drwxr-xr-x  root root system_u:object_r:etc_t          ..
>>>>> -rw-------  root root system_u:object_r:etc_t          moduli
>>>>> -rw-r--r--  root root user_u:object_r:etc_t            ssh_config
>>>>> -rw-------  root root system_u:object_r:etc_t          sshd_config
>>>>> -rw-------  root root system_u:object_r:sshd_key_t    
>>>>> ssh_host_dsa_key
>>>>> -rw-r--r--  root root root:object_r:etc_t
>>>>> ssh_host_dsa_key.pub
>>>>> -rw-------  root root system_u:object_r:sshd_key_t     ssh_host_key
>>>>> -rw-r--r--  root root root:object_r:etc_t             
>>>>> ssh_host_key.pub
>>>>> -rw-------  root root system_u:object_r:sshd_key_t    
>>>>> ssh_host_rsa_key
>>>>> -rw-r--r--  root root root:object_r:etc_t
>>>>> ssh_host_rsa_key.pub
>>>>> -rw-r--r--  root root user_u:object_r:etc_t            ssh_known_hosts
>>>>>
>>>>> Don't appear to have seedit, never heard of it.
>>>>>
>>>> Right now as root you execute
>>>>
>>>> # chcon system_u:object_r:etc_t:s0 /etc/ssh
>>>>
>>>> It gives you an error?
>>>
>>> yup.
>>>
>>> # chcon system_u:object_r:etc_t:s0 /etc/ssh
>>> chcon: failed to change context of /etc/ssh to
>>> system_u:object_r:etc_t:s0: Operation not permitted
>>>
>> Just back from linuxcon.  Can we bring this to the list?
>>
> 
> Definitely, which one?
> 
> 
SE Linux <selinux@tycho.nsa.gov>

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

       reply	other threads:[~2009-09-28 20:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4AB10AC9.9020006@cora.nwra.com>
     [not found] ` <4AB1125E.3020402@redhat.com>
     [not found]   ` <4AB119F1.4070600@cora.nwra.com>
     [not found]     ` <4AB12199.5090901@redhat.com>
     [not found]       ` <4AB7BC55.4060304@cora.nwra.com>
     [not found]         ` <4AB83734.6090805@redhat.com>
     [not found]           ` <4AB8DE44.3090907@cora.nwra.com>
     [not found]             ` <4AB8E96D.50801@redhat.com>
     [not found]               ` <4AB8F20A.5040409@cora.nwra.com>
     [not found]                 ` <4AC1087C.2090800@redhat.com>
     [not found]                   ` <4AC118EC.6090707@cora.nwra.com>
2009-09-28 20:17                     ` Daniel J Walsh [this message]
2009-09-28 20:22                       ` SElinux troubles Stephen Smalley
     [not found]                         ` <4AC12227.1070006@cora.nwra.com>
2009-09-29 11:59                           ` Stephen Smalley
2009-09-29 12:03                             ` Daniel J Walsh
     [not found]                             ` <4AC21A88.1020109@cora.nwra.com>
2009-09-29 19:06                               ` Daniel J Walsh
     [not found]                                 ` <4AC26781.20707@cora.nwra.com>
2009-09-29 20:18                                   ` Daniel J Walsh

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=4AC119D3.5070107@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=orion@cora.nwra.com \
    --cc=selinux@tycho.nsa.gov \
    /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.