From: "Christopher J. PeBenito" <cpebenito@tresys.com>
To: "Takesi satoh" <t_mail@mail2Airport.com>
Cc: <selinux@tycho.nsa.gov>
Subject: Re: RBAC in RHEL5
Date: Mon, 31 Mar 2008 08:56:17 -0400 [thread overview]
Message-ID: <1206968178.16113.328.camel@gorn> (raw)
In-Reply-To: <0bec01c89287$3b352cc0$016a010a@mail2world.com>
On Sun, 2008-03-30 at 09:58 -0700, Takesi satoh wrote:
> I wonder that I can use RBAC in RHEL5 or not.
> Here is my problem.
>
> I created new user, and new roles. Let me say john_u: john_r:john_t.
> After I made loadable module, loaded it, and I added some entry to
> default_context and default_type,
> john_u:john_r:john_t was assigned to linux user "john" when john
> logined from GNOME.
>
> Next, since I wanted to try the case of "john logins from console",
> I added new entry "system_r:local_login_t john_r:john_t
> system_r:unconfined_t" to default_context
> and jonh logins from console(tty), then system_r:unconfined_t was
> assigned to john.
>
> I thought the reason why it happened was the below policy
> "type_transition local_login_t shell_exec_t:process transition",
> so I downloaded RHEL's selinux-policy-targeted.src.rpm, replaced from
> above type_transition sentence to "allow local_login_t
> userdomain:process transition;" in local_login.te, and rebuilded rpm.
>
> Then, john logined from console again, and john was assigned to
> "local_login_t"
> Any domain transition did not happen here.
> I wondered " What if I use strict policy? ", so I tried strict policy.
> But the result is same, john was assined to local_login_t.
How did you create your user role? Did you just declare the types and
roles, or did you use the policy templates?
--
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150
--
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:[~2008-03-31 13:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-30 16:58 RBAC in RHEL5 Takesi satoh
2008-03-31 12:56 ` Christopher J. PeBenito [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-03-31 15:45 Takesi satoh
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=1206968178.16113.328.camel@gorn \
--to=cpebenito@tresys.com \
--cc=selinux@tycho.nsa.gov \
--cc=t_mail@mail2Airport.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.