Results 1 to 6 of 6
Hello
I have MLS on Fedora 12 but I can not run "newrole", for example:
Code:
newrole -r sysadm_r
I get error:
Code:
Sorry, newrole may be used only on ...
- 01-27-2010 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 7
Mls Newrole
Hello
I have MLS on Fedora 12 but I can not run "newrole", for example:
I get error:Code:newrole -r sysadm_r
What can be wrong?Code:Sorry, newrole may be used only on a SELinux kernel.
PS. Sorry for my english.
- 01-27-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Apparently do are not running Fedora in Security Enhanced mode (SELinux). This tool only works for an SELinux-enabled kernel.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 01-27-2010 #3Just Joined!
- Join Date
- Jan 2010
- Posts
- 7
This is my /etc/selinux/config:
Code:# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=enforcing # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=mls
- 01-27-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Just because you have an SELinux configuration on your system, doesn't mean that it's running. What is the output from uname -a?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 01-28-2010 #5Just Joined!
- Join Date
- Jan 2010
- Posts
- 7
I get:
Code:Linux localhost.localdomain 2.6.31.5-127.fc12.i686 #1 SMP Sat Nov 7 21:41:45 EST 2009 i686 i686 i386 GNU/Linux
- 01-28-2010 #6Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
I don't think you have the SELinux sub-system enabled. Go to the Service Management (Services) tool in your Administration menu (or sub-menu thereof) and see if it is enabled. If not, you need to configure and enable it.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote