All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eric Peters" <eric@peters.org>
To: <SELinux@tycho.nsa.gov>
Subject: RBAC/Types Hierarchy
Date: Wed, 15 Aug 2001 12:38:49 -0700	[thread overview]
Message-ID: <002a01c125c1$ed4ee110$020144c0@windows> (raw)
In-Reply-To: Pine.SOL.3.95.1010815080617.24997B-100000@clipper.gw.tislabs.com

I'll try to push this on a new thread and keep it more "open" for anyone on
the list to respond :)

> You could certainly modify or replace the example SELinux security server
> to implement such a policy model.  That is relatively straightforward, and
> does not require any changes to the rest of the kernel to support new
> policy models.  The policy models that we chose to provide in the example
> security server are Type Enforcement and Role-Based Access Control (and,
> optionally, Multi-Level Security).  These policy models group users and
> processes into equivalence classes known as roles and domains, and define
> permissions based on these equivalence classes.  That tends to be much
> easier to manage than a policy based on individual users, although you can
> certainly define a unique role/domain for a particular user if you want.
>
> With regard to the hierarchical relationship among users that you
> describe, the example policy models don't really provide implicit support
> for it, although you can explicitly represent such relationships through
> the assignment of permissions.  A more complete Role-Based Access Control
> implementation would directly support such relationships.

I believe due to the nature of the extended hierarchy, that I will need to
have an explicit representation of the permissions.  I'm essentially looking
to implement a web hosting solution, which would allow a "controlling"
account to read/write, send signals to processes, (and possibly su?!? - via
explicit transitions) to the "child" accounts.  My current idea is to have a
new domain for every user, a new role for every user, and corresponding

/home/thisuser(|/.*)                     system_u:object_r:thisuser_home_t

entries in the file_contexts such that in the rbac config, when a
"controlling" account is defined, in addition to his "controllinguser_t"
type,
role controllinguser_r types {
        controllinguser_t
        thisuser_t
}

The thisuser_t can be associated, and transitions setup for
controllinguser_r to thisuser_r.

When installing SELinux, the install process requires an effective reboot
after changing the file_contexts so that the new contexts can be enforced on
the system.

This means of having so many domains, types, and roles, would require alot
of "maintenance" when new accounts are added/deleted/edited - however I'm
going to have to be managing that anyhow.  My real "question" is can the
setfiles, (assuming I suppose, it gets a domain established so in runtime it
can properly transition to the required roles and set file contexts), and
updating the policies be entirely done in a "run time" environment, or would
I need to go about redressing this need as well.  The means I've gone about
installing SELinux don't seem very sympathetic to this runtime change :)


Thanks again for all your time,

Eric




--
You have received this message because you are subscribed to the selinux 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:[~2001-08-15 19:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-14  1:57 SE Linux II? Eric Peters
2001-08-14 12:20 ` Stephen Smalley
2001-08-15  1:12   ` Eric Peters
2001-08-15 12:35     ` Stephen Smalley
2001-08-15 16:29       ` Eric Peters
2001-08-15 17:38         ` Stephen Smalley
2001-08-15 17:39           ` Eric Peters
2001-08-15 17:39           ` Eric Peters
2001-08-15 19:38       ` Eric Peters [this message]
2001-08-15 20:02         ` RBAC/Types Hierarchy Stephen Smalley
2001-08-15 20:02           ` Eric Peters
2001-08-15 22:05         ` John Scroggins
2001-08-16  0:14           ` Eric Peters
2001-08-16  1:17             ` John Scroggins
2001-08-15 23:45               ` Dale Amon
     [not found]                 ` <3B7C110C.286A8E4C@earthlink.net>
     [not found]                   ` <20010816071759.C18183@vnl.com>
2001-08-16 19:44                     ` John Scroggins

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='002a01c125c1$ed4ee110$020144c0@windows' \
    --to=eric@peters.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.