Re: General Users

From: Stephen Smalley <sds_at_tislabs.com>
Date: Tue, 15 Jan 2002 12:49:59 -0500 (EST)

On Tue, 15 Jan 2002, Westerman, Mark wrote:

> The current implementation of SELinux requires each user to be listed in the
> user policy file and the default_context.

The per-user entries of default_context and cron_context will no longer be necessary when we migrate to the default_contexts file and the new libsecure functions. See my message on that topic from Jan 7th. I think that work on the new configuration file and the new libsecure functions has resumed by the original developer, but I don't know when the migration will be complete.

> What would be the best way to modify the current implement to create a
> standard
> user. I was thinking of setting up a standard user for the user policy file
> and
> for the default context in the /etc/security (cron and default). I am
> looking at modifying
> the libsecure to look at the user, if the user is not found in the
> default_context file
> then assign him the standard user context.

This approach should work if you merely want to map most users to a single set of authorized roles and if you are not concerned about using the SELinux user identity to provide per-user accountability for most users. Otherwise, you'll need a more sophisticated solution. If you make modifications to the libsecure functions, be aware that the old functions will be obsoleted by the new ones at some point in the future.

--
Stephen D. Smalley, NAI Labs
ssmalley@nai.com




--
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.
Received on Tue 15 Jan 2002 - 12:55:03 EST

This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:26 EDT