All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: policycoreutils patch
Date: Tue, 05 Aug 2008 10:20:19 -0400	[thread overview]
Message-ID: <489861A3.5010505@redhat.com> (raw)
In-Reply-To: <1217943844.2994.65.camel@moss-spartans.epoch.ncsc.mil>

Stephen Smalley wrote:
> On Fri, 2008-08-01 at 07:43 -0400, Daniel J Walsh wrote:
> Adds support for boolean files, name/value pairs as input and output.
> Allows you to set a large amount of booleans at once.
> 
> Add support from groupname in semanage login.  This will allow you to
> associate groups of Linux Users with an SELinux user.  Uses same syntax
> as sudo.  Requires patch to libselinux.
> 
> Cleanup of semanage variables.  Change use of 1/0 to True/False.
> 
> Remove bad use of raise(out)
> 
>> Looks ok other than adding gui to the Makefile since we don't have that
>> one.  But upon trying "semanage login -a -s root %wheel", I get:
>> libsemanage.get_users: user %wheel not in password file
> 
>> So it seems that we also need libsemanage to understand the %groupname
>> syntax?  That is coming from genhomedircon.c.
> 
>> If actually supporting per-role file labeling, then we'd need
>> libsemanage to expand the group and add the individual users for
>> generating home directory entries.
> 
> 
Yet another reason to remove the atrocity that is per role labeling.
Changing the default role of a user or group of users should not involve
the relabeling of a potentially huge amount of files, never mind that
you can't fix /tmp files.  Stop the insanity...

Then we have the problem of shared homedirs where you have different
roles on different machines, and potentially can log in to the same
machine with different roles depending on how you login.  guest_r if you
login via ssh but staff_r via the console.

Someday I will win this battle...



--SNIP--

--
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:[~2008-08-05 14:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-01 11:43 policycoreutils patch Daniel J Walsh
2008-08-05 13:44 ` Stephen Smalley
2008-08-05 13:57   ` Stephen Smalley
2008-08-05 14:20   ` Daniel J Walsh [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-10-23 17:15 Daniel J Walsh
2008-11-10 15:52 ` Joshua Brindle
2008-01-11 21:15 Daniel J Walsh
2008-01-23 21:01 ` Stephen Smalley
2007-12-06 18:34 Daniel J Walsh
2007-12-07 20:19 ` Stephen Smalley
2007-06-01 14:32 Daniel J Walsh
2007-06-05 14:05 ` Stephen Smalley
2007-04-26 15:30 Daniel J Walsh
2007-04-26 19:18 ` Karl MacMillan
2007-04-27 12:50   ` Daniel J Walsh
2007-04-27 14:30     ` Karl MacMillan
2007-04-27 15:10       ` Stephen Smalley
     [not found] <45DB0AB8.3070803@redhat.com>
2007-02-21 17:22 ` Stephen Smalley
2006-03-29 15:19 Daniel J Walsh
2003-11-19  3:40 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=489861A3.5010505@redhat.com \
    --to=dwalsh@redhat.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.