Help with Fedora 16

jonny702

Posts: 35   +11
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.
 
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?

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.
 
Back