-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLinux Run Levels.txt
23 lines (17 loc) · 1.15 KB
/
Linux Run Levels.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
################# Task ##########################
The xFusionCorp Industries security team recently did a security audit of their infrastructure and came up with ideas to
improve the application and server security. They decided to use SElinux for an additional security layer. They are
still planning how they will implement it; however, they have decided to start testing with app servers, so based on the
recommendations they have the following requirements:
Install the required packages of SElinux on App server 2 in Stratos Datacenter and disable it permanently for now; it
will be enabled after making some required configuration changes on this host. Don't worry about rebooting the server as
there is already a reboot scheduled for tonight's maintenance window. Also ignore the status of SElinux command line
right now; the final status after reboot should be disabled.
############### Solution ################
step 1: Login to application server 2
a: ssh [email protected]
Step 2: Install Selinux
a: sudo yum install selinux* -y
Step 3: Disable the selinux
a: edit the "/etc/sysconfig/selinux" file
b: inside the file, set "SELINUX=disabled"