Selinux Installation - faill

hey By mistake I installed and configure the SElinux on App server 1 instead of server 3 please give a grade as if I did the configuration on App Server 3

yum install selinux-policy-targeted
yum install selinux-policy-devel policycoreutils

vi /etc/selinux/config

This file controls the state of SELinux on the system.

SELINUX= can take one of these three values:

enforcing - SELinux security policy is enforced.

permissive - SELinux prints warnings instead of enforcing.

disabled - No SELinux policy is loaded.

SELINUX=disabled

SELINUXTYPE= can take one of these two values:

targeted - Targeted processes are protected,

mls - Multi Level Security protection.

SELINUXTYPE=targeted

getenforce
disabled

done

Please submit it for review, you should be able to re-attempt this task.

already have submit it to review :slight_smile:

1 Like

Hello,

Where can I find the dependencies list for SElinux installation? I saw in other topic that it was :

  • policycoreutils
  • policycoreutils-python
  • selinux-policy
  • selinux-policy-targeted
  • libselinux-utils
  • setroubleshoot-server
  • setools
  • setools-console
  • mcstrans

but I don’t understand how find this list?

Hey,
I have completed the task, but at the end it gave me ''incomplete"
Here is screenshot of the installed selinux in ‘disabled’ state.

As I remember from my task, selinux must be disabled even after reboot.
So, try this from my old notes:

sudo yum install selinux-policy-targeted
sudo setenforce 0
sudo vi /etc/selinux/config
    SELINUX=disabled
3 Likes

Thank you! This did the trick