Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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
    newrole -r sysadm_r
    I get this error message:
    system_u:sysadm_r:sysadm_t is not a valid context
    This is my first time useing SELinux so I have no idea where to go from here.

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

  3. #3
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    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.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts