Skip to contentSkip to conversation

Adding user accounts

DISCUSSION Nick Gray 2 participants 2 messages Apr 27, 2004 – Apr 28, 2004 SELinux security module

lore
Share & tools
lore

Nick Gray

author
#0 lore raw

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?

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 7 lines · Nick Gray

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

Quoted 5 lines

#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?

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.