Skip to contentSkip to conversation

Ok what am I doing wrong?

DISCUSSION Daniel J Walsh 2 participants 2 messages Feb 19, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

I did a make quickinstall and added support for ext3 and networking.
I have never gotten newrole to work correctly. Is there some step that I am missing?

[root@pxe src]# id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel) context=root:user_r:user_t sid=324 [root@pxe src]# newrole -r sysadmin_r
Couldn't get default type.
[root@pxe src]# newrole -r sysadmin_r -t sysadmin_t
Authenticating root.
Password:
root:sysadmin_r:sysadmin_t is not a valid context

--
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 3 lines · Daniel J Walsh

[root@pxe src]# newrole -r sysadmin_r Couldn't get default type.
[root@pxe src]# newrole -r sysadmin_r -t sysadmin_t

newrole -r sysadm_r

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
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.