Hello everyone.
In this demo I'm going to talk about C Linux is Linux is a security enhanced Linux.
We can consider a C Linux as a Linux kernel security module to provide and support access control security
policies for the applications, processes and files on the system.
So if I would like to show what is the current mode or the status of C Linux in the operating system
here.
So I'm going to type the command C e status.
Then I hit enter as we can see over here.
So the current mode it's enforcing now if I would like to change the mode temporarily, so I would like
to change this Linux mode temporarily, for example, from enforcing to permissive.
So I'm going to type the command sit in force, then space, then zero hit enter.
I'm going to type the command C status.
As we can see over here, we have change the mode for the C Linux temporarily.
Like if I would like right now to change it back from permissive to enforcing.
So what I'm going to do so sit enforcing then I'm going to type the number one.
So space one hit enter and I'm going to type C status hit enter, as we can see over here.
So the current mode right now it's enforcing.
So what I have done, so I'm just trying to change the mode temporarily.
So if I change it right now, for example, from enforcing to permissive, then I reboot the system.
It will not save the the mode that we have changed.
However, if I would like to change the mode permanently for the C Linux, I can change it in the file
configuration under the slash ATC slash C Linux.
So I'm going to go to the slash ATC slash C Linux hits enter.
And so, so as you can see over here, this is the configuration file.
So vim config hit enter.
As we can see over here, we can change the modes permanently and C Linux and this file, as we can
see over here.
Here is it so the current right now the current mode for the C Linux it's enforcing so I can change
it either to permissive or also I can disable it.
So after we change the mode and the file configuration here.
So what I need to do, I need to say, for example, here, see as you can see here, so I'm going to
save, then I need to reboot the system.
So it's really important.
If we change anything in the file configuration, we need to reboot the system in order to save the
configuration and the mode that we have changed.
If I would like to get more information about the Linux so I can go to the man page man C Linux hit
enter.
As we can see over here.
Here is the man page of the C Linux.
You can get more information about this command in the man page.
So that's conclude our session.
Thank you and see you in the next lesson.