All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
Cc: SELinux <SELinux@tycho.nsa.gov>
Subject: Re: general security lib (was: 2.6.0-test3)
Date: Fri, 22 Aug 2003 13:21:23 -0400	[thread overview]
Message-ID: <3F465113.3010207@redhat.com> (raw)
In-Reply-To: <1061562771.28086.157.camel@moss-spartans.epoch.ncsc.mil>

[-- Attachment #1: Type: text/plain, Size: 1817 bytes --]

Also how would you allow the user to select the context they will login 
as if there are more then one?  Unless we remove this capability and 
always force users to use newrole.

Dan

Stephen Smalley wrote:

>On Fri, 2003-08-22 at 10:09, Russell Coker wrote:
>  
>
>>A modification to PAM could allow the sshd, login, and cron patches to go 
>>away.
>>
>>Theodore Ts'o suggested to me that a new PAM call be added to run the shell 
>>which takes appropriate parameters about user-name etc.  Then a SE Linux 
>>version of this module could change the security context appropriately, thus 
>>requiring only one copy of the code to determine the context to use, and not 
>>requiring any on-going modification to applications.
>>
>>This design concept sounds really good, and as it's Ted's suggestion I don't 
>>expect any great resistance to accepting the patch upstream once it's been 
>>tested and proven to work.
>>
>>I've been meaning to work on this for almost a year, I might start work next 
>>week.
>>    
>>
>
>If you investigate this idea, be sure to work from the new SELinux
>patches that use the new SELinux API, not the old one.  Note that the
>new SELinux API is better suited to encapsulation within PAM, since the
>exec context is now an attribute of the process that can be set prior to
>the execve call.  PAM could call setexeccon() when it ordinarily sets
>the user's credentials.  This avoids the need to create a new PAM call,
>or to alter the execve call itself.
>
>While you may be able to move the setup of the user execution context
>into PAM, there are other elements of the SELinux patches as well, such
>as the labeling of the tty/pty and the entrypoint check for cron jobs. 
>Hence, I suspect that we will still need some kind of patch for
>login/sshd/crond, albeit a smaller one. 
>
>  
>

[-- Attachment #2: Type: text/html, Size: 2130 bytes --]

  reply	other threads:[~2003-08-22 17:21 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-21 12:29 2.6.0-test3 Magosányi Árpád
2003-08-21 13:37 ` 2.6.0-test3 Russell Coker
2003-08-21 17:25   ` 2.6.0-test3 Dale Amon
2003-08-21 18:49     ` 2.6.0-test3 Stephen Smalley
2003-08-22  2:04     ` 2.6.0-test3 Russell Coker
2003-08-22  4:53       ` 2.6.0-test3 Brian May
2003-08-22  5:04         ` 2.6.0-test3 Russell Coker
2003-08-22  5:44         ` 2.6.0-test3 Russell Coker
2003-08-22 13:06           ` 2.6.0-test3 Dale Amon
2003-08-22 13:02         ` 2.6.0-test3 Stephen Smalley
2003-08-22 13:21           ` 2.6.0-test3 Russell Coker
2003-08-22 14:17             ` 2.6.0-test3 Stephen Smalley
2003-08-22 14:24               ` 2.6.0-test3 Russell Coker
2003-08-21 17:40   ` 2.6.0-test3 Colin Walters
2003-08-21 22:32     ` 2.6.0-test3 Brian May
2003-08-22 12:44       ` 2.6.0-test3 Russell Coker
2003-08-22 17:42         ` 2.6.0-test3 Colin Walters
2003-08-24 17:30         ` 2.6.0-test3 Dale Amon
2003-08-24 17:50           ` 2.6.0-test3 Colin Walters
2003-08-25 17:52             ` 2.6.0-test3 Dale Amon
2003-08-22  2:36     ` 2.6.0-test3 Russell Coker
2003-08-22 12:38     ` general security lib (was: 2.6.0-test3) Magosányi Árpád
2003-08-22 12:58       ` Stephen Smalley
2003-08-22 13:36       ` Stephen Smalley
2003-08-22 17:51         ` Colin Walters
2003-08-22 18:32           ` Stephen Smalley
2003-08-22 14:09       ` Russell Coker
2003-08-22 14:32         ` Stephen Smalley
2003-08-22 17:21           ` Daniel J Walsh [this message]
2003-08-23  5:06             ` Russell Coker
2003-08-23  9:18               ` Brian May
2003-08-23  5:07           ` Russell Coker
2003-08-23  9:21         ` Brian May
2003-08-23 14:09           ` Russell Coker
2003-08-26 14:40         ` Stephen Smalley
2003-08-27  3:30           ` Russell Coker

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=3F465113.3010207@redhat.com \
    --to=dwalsh@redhat.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.