WEBVTT 00:01.210 --> 00:08.460 And this movie I'm going to be showing you how to check and change your AC Linux modes. 00:08.500 --> 00:10.150 Let's begin. 00:10.150 --> 00:20.020 So here in my server if I go through when you get and force you can see my current SC Linux mode. 00:20.020 --> 00:27.450 I can also say AC status which is going to show me a bit more information. 00:27.490 --> 00:29.090 This is my current mode. 00:29.090 --> 00:35.130 And you can see from here that this set in his comments straight from the configuration file. 00:35.650 --> 00:45.220 I can change the current mode in runtime with certain force so set in force zero will change the mode 00:45.310 --> 00:51.190 too permissive and set in force one will change it to enforce it. 00:51.220 --> 00:54.520 So let's go out and say is set and force zero. 00:54.880 --> 01:01.650 And if I SC status again you can see that we are now in permissive mode. 01:02.770 --> 01:11.260 But the configuration file still has a setting of in force n which means this current mode will not 01:11.260 --> 01:13.750 survive a reboot. 01:13.780 --> 01:18.730 We can also change the current set in through the bootloader. 01:18.730 --> 01:27.730 This can be quite useful if your server is refusing to start and you suspect as C Linux to be the problem. 01:28.510 --> 01:30.030 So let's go ahead and reboot 01:32.460 --> 01:40.820 so here in my bootloader going to look for the line that says Linux 610 let's jump to the end of this 01:40.860 --> 01:54.270 line and tack on and force N equals zero and control X back on my server if I go through an AC status 01:55.230 --> 02:01.390 again you can see the mode is still permissive bought from the configuration file. 02:01.410 --> 02:02.800 The mode is different. 02:02.810 --> 02:08.550 Which means this current certain will not survive a reboot. 02:08.550 --> 02:09.840 I'm going to cat. 02:09.840 --> 02:18.700 Let's just go ahead and copy that and faced it and go into the configuration file to see if it contains 02:19.170 --> 02:26.310 this file or we can make persistent changes to the AC Linux mode. 02:26.880 --> 02:27.780 That's all for now. 02:28.200 --> 02:29.130 Thank you for your time. 02:29.220 --> 02:31.890 And I hope to see you in the next lesson.