From: Daniel J Walsh <dwalsh@redhat.com>
To: Laurent Bigonville <bigon@debian.org>, selinux@tycho.nsa.gov
Subject: Re: PAM modules ordering
Date: Tue, 06 May 2014 15:11:28 -0400 [thread overview]
Message-ID: <536933E0.9070704@redhat.com> (raw)
In-Reply-To: <20140506194649.2f3aa358@soldur.bigon.be>
On 05/06/2014 01:46 PM, Laurent Bigonville wrote:
> Hello,
>
> I was wondering, is there a list of pam modules that need to be called
> between pam_selinux close/open?
>
> On Fedora I see pam_loginuid, but are there other modules that must be
> in between, or can all the other modules be after the "pam_selinux
> open" one?
>
> Cheers,
>
> Laurent Bigonville
> _______________________________________________
> Selinux mailing list
> Selinux@tycho.nsa.gov
> To unsubscribe, send email to Selinux-leave@tycho.nsa.gov.
> To get help, send an email containing "help" to Selinux-request@tycho.nsa.gov.
>
>
No, only thing that should not be called after pam_selinux open is an
app that wants to run a priv command. pam_selinux open is setting the
user context, so any apps that are executed after the open will be
executed in the users context, Any app that is executed before the open
will be executed as the context of the login program.
pam_selinux will also change the labels on ttys.
next prev parent reply other threads:[~2014-05-06 19:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-06 17:46 PAM modules ordering Laurent Bigonville
2014-05-06 19:11 ` Daniel J Walsh [this message]
2014-05-06 20:42 ` Laurent Bigonville
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=536933E0.9070704@redhat.com \
--to=dwalsh@redhat.com \
--cc=bigon@debian.org \
--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.