Results 1 to 3 of 3
I just installed SELinux and made my user account mapped to the staff_u SELinux user, but now when I go to switch roles to sysadm_r via
Code:
newrole -r sysadm_r
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-05-2011 #1Just Joined!
- Join Date
- Mar 2011
- Location
- pittsburgh
- Posts
- 67
Trouble switching roles with SELinux
I just installed SELinux and made my user account mapped to the staff_u SELinux user, but now when I go to switch roles to sysadm_r via
I get this error message:Code:newrole -r sysadm_r
This is my first time useing SELinux so I have no idea where to go from here.Code:system_u:sysadm_r:sysadm_t is not a valid context
- 11-05-2011 #2Just Joined!
- Join Date
- Mar 2011
- Location
- pittsburgh
- Posts
- 67
Ok, so I believe I've figured out my problem. The default contexts where not correct. I found this little gem:
Gentoo Linux Documentation -- Troubleshooting SELinux
And the bottom section on incorrect context seem to have solved my problem.
- 11-05-2011 #3
Sorry that no one was able to help but thanks for posting your solution. It may help others with the same problem.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
I'd rather be lost at the lake than found at home.


Reply With Quote
