All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shaun Savage <savages@pcez.com>
To: "Westerman, Mark" <Mark.Westerman@csoconline.com>, selinux@tycho.nsa.gov
Subject: Re: General Users
Date: Tue, 15 Jan 2002 15:38:32 -0800	[thread overview]
Message-ID: <3C44BD78.4090205@pcez.com> (raw)
In-Reply-To: 72222DC86846D411ABD300A0C9EB08A10152428B@csoc-mail-box.csoconline.com

Westerman, Mark wrote:

To sum it up you want dynamic user add or daily policy update.

here is a kluge idea:
create a new push/pull program to down load the policy daily, using what 
ever security you need.
create a policy to allow this program to load the new policy.  here 
again you define the security needed.
create a script to generate the "user" file and make the new policy 
ready to send

now the get_user_sids would work in getting the default context/sid

The problem here is this push/pull program would need to be protected. 
 by selinux policy and encryption.  

The better way would be to allow dynamic user add.  When a user logins 
in, the nis information sent back to the client has a selinux group. 
this selinux group allows a user different user rights but the policy 
lookup is dependent on the group and user.  group_sid + dymanic_user = sid

user_group:user_r:user_t  where user is the user name and group is the 
group name.

user = zot and group = student
zot_student:user_r:user_t
thr group 'student' is defined in the  policy.
 
This would require new syscalls,  sid= new_user(name, group, context), 
and del_user(sid)  

Shaun
 

>I am not worried about user Profile Management or any type 
>of group management.
>
>The issues is the actual SELinux policy management.
>When you create the policy from the policy
>rules the binary file is store in /ss_policy. To add a 
>user to the system now you must:
>	1. Add the user to the system
>	2. Add the user to the file SELinux/policy/users
>		user xxxx roles { user_r };
>	3. Rebuild the policy file.
>		make install
>	4. Load the new policy into the kernel or reboot.
>		load_policy /ss_policy
>	5. Add the user to the /etc/security/default_context
>	6. Add the user to the /etc/security/cron_context
>
>
>Some of the problems I will have with this type of implementation is
>	1. I do not believe that the load_policy will be allowed on the 
>         general workstation (security reasons) . That leaves only reboot. 
>	2. Rebuild the policy file for hundred workstation is not a feasible
>
>	   implementation. 
>	3. The policy files will the same for each workstations so a push of
>         the policy files is ok. (this will be performed via encryption)
>	4. As stated early password will be distributed via NIS (legacy
>reasons
>         not an option to change).
>
>Any more Ideas or suggestions would be greatly appreciated
>
>Mark Westerman
>
>--
>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.
>
>




--
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.

  reply	other threads:[~2002-01-15 23:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-15 20:03 General Users Westerman, Mark
2002-01-15 23:38 ` Shaun Savage [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-01-15 14:21 Westerman, Mark
2002-01-15 17:49 ` Stephen Smalley
2002-01-15 18:59 ` Christopher A. Martin
2002-01-15 19:05 ` Shaun Savage
2002-01-15 19:06 ` Donald Kasper
2002-01-15 22:02   ` Shaun Savage
2002-01-16  6:19     ` Donald Kasper

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=3C44BD78.4090205@pcez.com \
    --to=savages@pcez.com \
    --cc=Mark.Westerman@csoconline.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.