Adding user accounts
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.
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 loadIs 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.