Re: Adding Accounts

From: Stephen Smalley <sds_at_tislabs.com>
Date: Wed, 23 Jan 2002 09:38:21 -0500 (EST)

On Wed, 23 Jan 2002, Lonnie Cumberland wrote:

> Is there an easier way to add users now that I have SELinux installed
> and running?

At present, to add new users that are recognized by the SELinux policy, you must add an entry for the user to policy/users and reload the policy (run 'make load' in the policy directory), and you must add contexts for the user to the /etc/security/{default_context,cron_context} files. The need for per-user entries in the /etc/security files will go away once we migrate to a new set of libsecure functions (see the /etc/security/default_context vs. /etc/security/default_contexts thread on the mailing list), pending on someone taking the time to finish that work.

However, that will still leave the policy/users file. Mark Westerman suggested adding a general unprivileged user to the SELinux policy that can be used for all unspecified users, and has been working on a patch to implement support for such a user - see the General Users thread on the mailing list. This will work as long as you are ok with merely mapping all such users to the same set of authorized roles (i.e. you do not need the policy to separate such users) and you do not care about per-user accountability for such users. Otherwise, you will need to update policy/users and reload the policy for new users.

--
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 Wed 23 Jan 2002 - 09:42:05 EST

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