message: Your default context is root:system_r:unconfined_t

Posted on 2006-05-04
Last Modified: 2013-12-16

Have you seen this message before on a RHE4 machine?  Something changed somewhere ... all I know is I logged into a users machine and now when I su I get this message. It may look very familiar to some of you.
denver(47) /users/usernsme>su -
Your default context is root:system_r:unconfined_t.

Do you want to choose a different one? [n]
Question by:bjmorse
    LVL 15

    Expert Comment

    This is the message you get with SELinux enabled. You probably had it disabled before.

    man getenforce
    man setenforce

    LVL 22

    Accepted Solution


    is the configuration file. If you want to disable it, edit the SELLINUX line to be:



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
    How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now