Research
.
Skip Search Box

SELinux Mailing List

Re: Adding user accounts

From: Stephen Smalley <sds_at_epoch.ncsc.mil>
Date: Wed, 28 Apr 2004 08:53:58 -0400


On Tue, 2004-04-27 at 13:31, Nick Gray wrote:
> This is the procedure I have for adding user accounts.
>
> #1. useradd -m developer
> #2. passwd developer
> #3. sed -i -e /user\ root/a\ user\ developer\ roles\ \{\ staff_r\ \
> sysadm_r\ \}\; /etc/security/selinux/src/policy/users
>
> #4. cd /etc/security/selinux/src/policy
> #5. make policy
> #6. make load
>
> Is this still necessary?

Have you tried the Tresys setools? seuser, seuseradd?

-- 
Stephen Smalley <sds@epoch.ncsc.mil>
National Security Agency


--
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.
Received on Wed 28 Apr 2004 - 08:56:59 EDT
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service