1 00:00:00,830 --> 00:00:01,880 Hello everyone. 2 00:00:01,880 --> 00:00:09,860 In this demo I'm going to talk about C Linux is Linux is a security enhanced Linux. 3 00:00:09,860 --> 00:00:17,900 We can consider a C Linux as a Linux kernel security module to provide and support access control security 4 00:00:17,900 --> 00:00:24,080 policies for the applications, processes and files on the system. 5 00:00:25,190 --> 00:00:33,530 So if I would like to show what is the current mode or the status of C Linux in the operating system 6 00:00:33,530 --> 00:00:33,770 here. 7 00:00:33,770 --> 00:00:38,600 So I'm going to type the command C e status. 8 00:00:38,630 --> 00:00:41,420 Then I hit enter as we can see over here. 9 00:00:41,420 --> 00:00:50,240 So the current mode it's enforcing now if I would like to change the mode temporarily, so I would like 10 00:00:50,240 --> 00:00:56,510 to change this Linux mode temporarily, for example, from enforcing to permissive. 11 00:00:56,510 --> 00:01:05,790 So I'm going to type the command sit in force, then space, then zero hit enter. 12 00:01:06,210 --> 00:01:09,930 I'm going to type the command C status. 13 00:01:09,960 --> 00:01:18,810 As we can see over here, we have change the mode for the C Linux temporarily. 14 00:01:18,810 --> 00:01:23,280 Like if I would like right now to change it back from permissive to enforcing. 15 00:01:23,280 --> 00:01:31,980 So what I'm going to do so sit enforcing then I'm going to type the number one. 16 00:01:31,980 --> 00:01:39,420 So space one hit enter and I'm going to type C status hit enter, as we can see over here. 17 00:01:39,420 --> 00:01:43,680 So the current mode right now it's enforcing. 18 00:01:43,680 --> 00:01:48,720 So what I have done, so I'm just trying to change the mode temporarily. 19 00:01:48,720 --> 00:01:55,830 So if I change it right now, for example, from enforcing to permissive, then I reboot the system. 20 00:01:56,400 --> 00:02:02,400 It will not save the the mode that we have changed. 21 00:02:02,430 --> 00:02:10,770 However, if I would like to change the mode permanently for the C Linux, I can change it in the file 22 00:02:10,770 --> 00:02:14,040 configuration under the slash ATC slash C Linux. 23 00:02:14,040 --> 00:02:22,500 So I'm going to go to the slash ATC slash C Linux hits enter. 24 00:02:22,710 --> 00:02:28,890 And so, so as you can see over here, this is the configuration file. 25 00:02:28,890 --> 00:02:33,210 So vim config hit enter. 26 00:02:33,210 --> 00:02:41,670 As we can see over here, we can change the modes permanently and C Linux and this file, as we can 27 00:02:41,670 --> 00:02:42,420 see over here. 28 00:02:42,420 --> 00:02:49,920 Here is it so the current right now the current mode for the C Linux it's enforcing so I can change 29 00:02:49,920 --> 00:02:54,690 it either to permissive or also I can disable it. 30 00:02:54,690 --> 00:03:01,550 So after we change the mode and the file configuration here. 31 00:03:01,550 --> 00:03:06,350 So what I need to do, I need to say, for example, here, see as you can see here, so I'm going to 32 00:03:06,350 --> 00:03:10,910 save, then I need to reboot the system. 33 00:03:11,180 --> 00:03:13,280 So it's really important. 34 00:03:13,280 --> 00:03:21,320 If we change anything in the file configuration, we need to reboot the system in order to save the 35 00:03:21,320 --> 00:03:24,950 configuration and the mode that we have changed. 36 00:03:24,980 --> 00:03:35,330 If I would like to get more information about the Linux so I can go to the man page man C Linux hit 37 00:03:35,330 --> 00:03:35,780 enter. 38 00:03:35,780 --> 00:03:37,160 As we can see over here. 39 00:03:37,160 --> 00:03:40,820 Here is the man page of the C Linux. 40 00:03:40,820 --> 00:03:45,830 You can get more information about this command in the man page. 41 00:03:46,520 --> 00:03:48,350 So that's conclude our session. 42 00:03:48,350 --> 00:03:50,120 Thank you and see you in the next lesson.