From: "Justin P. Mattock" <justinmattock@gmail.com>
To: "S, Senthilprabu (NSN - IN/Bangalore)" <senthilprabu.s@nsn.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: User defined roles on Linux
Date: Wed, 11 Aug 2010 08:59:23 -0700 [thread overview]
Message-ID: <4C62C8DB.4000002@gmail.com> (raw)
In-Reply-To: <DF79449D87A52D44843D75136C2DD02602FAB1CA@SGSIEXC009.nsn-intra.net>
On 08/11/2010 07:59 AM, S, Senthilprabu (NSN - IN/Bangalore) wrote:
> Hello All,
> I am a newbie to Linux and SELinux as well. So apologize me if my question is stupid. All these days, I have been playing with Solaris. Have implemented user profiles and associated them with roles using RBAC on Solaris to facilitate set of users to run my application. Users assuming my role can only start, stop and troubleshoot application whereas not possible to execute any other commands. Now after RHEL 5.5 migration, I am trying to implement similar roles here too. After running through various RHEL manuals I assume that SELinux can be used to define RBAC roles to some extend, even though its main feature is to implement Mandatory Access Control (MAC). I see few pre-defined roles like sysadm_r and staff_u. Now my question is it possible to create user defined roles on RHEL 5.5 using SELinux and assign it to shared os accounts?. If possible but not through SELinux, please let me how it can be done?.
>
>
>
> Thanks in advance,
> Senthil Prabu.S
>
>
> --
> 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.
>
correct me if Im wrong but depending on the policy type i.e.
monolithic/binary you would use semanage to create a user with the
roles. as well as category level and sensitivity level and/or modify
policy/users file to define the roles category/sensitivity of the user.
as for solaris haven't yet played around with FMAC yet but id imagine
it's similar.
hope this helps.
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.
next prev parent reply other threads:[~2010-08-11 15:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-11 14:59 User defined roles on Linux S, Senthilprabu (NSN - IN/Bangalore)
2010-08-11 15:47 ` David P. Quigley
2010-08-11 15:59 ` Justin P. Mattock [this message]
2010-08-11 17:56 ` Stephen Smalley
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=4C62C8DB.4000002@gmail.com \
--to=justinmattock@gmail.com \
--cc=selinux@tycho.nsa.gov \
--cc=senthilprabu.s@nsn.com \
/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.