All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Justin P. Mattock" <justinmattock@gmail.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: selinux_required option given and selinux is disabled
Date: Tue, 22 Jun 2010 12:29:27 -0700	[thread overview]
Message-ID: <4C210F17.6030301@gmail.com> (raw)
In-Reply-To: <1277233608.28715.102.camel@moss-pluto.epoch.ncsc.mil>

On 06/22/2010 12:06 PM, Stephen Smalley wrote:
> On Tue, 2010-06-22 at 08:53 -0700, Justin Mattock wrote:
>> playing around with pam_namespace I seem to at a crux with trying to
>> figure out how to use require_selinux in pam.d/login with pam_namespace
>>
>> heres what I see:
>>
>> pam_selinux(login:session): Open Session
>> pam_unix(login:session): session opened for user name by LOGIN(uid=0)
>> pam_selinux(login:session): Open Session
>> pam_selinux(login:session): Username= name SELinux User = name Level= s0
>> pam_selinux(login:session): Security Context name:staff_r:staff_t:s0 Assigned
>> pam_selinux(login:session): set name security context to name:staff_r:staff_t:s0
>> pam_selinux(login:session): Key Creation Context
>> name:staff_r:staff_t:s0 Assigned
>> pam_selinux(login:session): set name key creation context to
>> name:staff_r:staff_t:s0
>> pam_namespace(login:session): selinux_required option given and
>> selinux is disabled
>> Cannot make/remove an entry for the specified session
>>
>> did I miss something with this?
>
> Was pam_namespace built with --enable-selinux?
>


yeah it's always been enabled, as well as audit.. one thing that I 
remember is I did receive an error when building(as well as today) to 
avoid this error I used the --enable-db=no so maybe this has something 
todo with this.

Justin P. Mattock

--
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:[~2010-06-22 19:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-22 15:53 selinux_required option given and selinux is disabled Justin Mattock
2010-06-22 19:06 ` Stephen Smalley
2010-06-22 19:29   ` Justin P. Mattock [this message]

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=4C210F17.6030301@gmail.com \
    --to=justinmattock@gmail.com \
    --cc=sds@tycho.nsa.gov \
    --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.