Help with Fedora 16

By jonny702
Jan 24, 2012
Post New Reply
  1. I hope I'm posting this in the right place. I'm currently taking a course utilizing Fedora 16 in preparation to do the CompTIA Linux+ cert. I have set up Fedora in Hyper-V and I'm having some issues. In particular I'm trying to edit the /etc/selinux/config file and I'm unable to as the file says it is read-only. My user is part of the "wheel group" which as I understand it means I am an administrator. What do I have to do to be able to edit this file successfully? I am a total Linux Noob, any help would be appreciated.
  2. jobeard

    jobeard TS Ambassador Posts: 11,158   +986

    NO, WHEEL is not the same as ROOT (ie the Linux Admin ID).

    run this to see the UID for each:
    egrep 'wheel|root' /etc/passwd

    now run ls -nl /etc/selinux/config
    the fourth column is the UID of the owner and the fifth is the GID of the group.
    Unless you have the matching UID or GID, you can not edit this file.

    Ask your teacher if you have assess to SUDO and how to do that.

    This file /etc/selinux/config is the major config file of Selinux and I would think
    you only modify it to get the Fedora server running and config it elsewhere.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...