In this movie you're going to take a very quick look at another trouble shooting situation and preparation
for this demonstration.
I've gone ahead and done some things that are going to cause SC Linux a bit of trouble.
Sometimes when configuring applications if you make a customization you make a change.
For example if you change an applications default directory or if you change the world in port if you
don't tell a Linux about the change you're going to have problems and that's exactly what I've done
here.
So if we go through and locate the Apache web server configuration file and grab to show I document
for it you can see that I've changed the default location of the Apache Web site.
I've also gone ahead and created the requisite folder.
So here's what I want you to do.
I want you to go into this file and locate every line that says var dub dub dub hide t email and change
it into forward slash dub dub dub.
OK so if we go through and cap of the index file you can see the contents.
I'm going to open up this file outside of the Apache web server so we can see what the Web site actually
looks like.
Now we can go ahead and test patches I'm going to control C out of that and I'm going to system CTO
restart height TTP D.
Let's follow that up with Firefox local host index dot height t AML just as expected.
We have a problem.
So let's control C out of that.
Whenever you have a problem that you suspect is being caused by FC Linux the first thing you want to
do is audit to allow.
We've seen this before.
If you take a look here it's telling us that we have a type enforcement issue and unlike before this
time the original recommendation to set a boolean value to fix it.
So we're gonna have to fix this ourselves.
I'm going to Ella's dash Zee the dub dub dub to check the correct domain.
So that's good and cover this out.
The control shift C and I'm going to use the following command.
This command will create a local group that assigns this domain to all files created in this directory
from here on out before I go through and do another list 10.
You can see that the current files still have the default type C change that I'm going to say these
are for recursive Let's paste and the tie on for Slash dub dub dub.
And we can verify it with another list in before testing our work lets system CTO restart height TBD
again.
And finally we can Firefox
local host and voila there we go.
So whenever you're faced with an SC Linux problem the first thing he wants to do is check the logs of
audit to allow this is going to give you some idea on how to fix that issue.
Remember that with the targeted policy most of the time the issues will relate to type enforcement.
That's all for now.
Thank you for your time and I hope to see you in the next lesson.