SELINUX and html

Maikel van Leeuwen maikel.van.leeuwen at sentia.com
Fri Feb 5 07:16:43 UTC 2016


Hey,

First of all, please watch the SElinux video's on youtube from Sander
van der Vught:
Introduction https://www.youtube.com/watch?v=tXNr3gO … _Zzki2BT_
<https://www.youtube.com/watch?v=tXNr3gOgrn8&list=PLC5eRS3MXpp-h3n0YlZM1Gy_Zzki2BT_K>

Then read: https://www.centos.org/docs/5/html/Depl … ntrol.html
<https://www.centos.org/docs/5/html/Deployment_Guide-en-US/sec-sel-admincontrol.html>

Followed by setting it to the right context: httpd_sys_rw_content_t (or
pick another context with read,write option).
Tail /var/log/audit/audit.log for debugging.


In regards,
Maikel

Jack Craig wrote:
> my approach is to run setroubleshooter which, when detecting an issue,
> provides a cli to allow just the single exception.
>
> hth, jackc...
>
> On Thu, Feb 4, 2016 at 3:33 PM, Dustin Kempter
> <dustink at consistentstate.com <mailto:dustink at consistentstate.com>> wrote:
>
>     Hello all, I am having an issue. I have a vm with an html file
>     that SELINUX is blocking access to. From a webpage I can not
>     access the page unless SELINUX is disabled. I would rather not
>     have it disabled, is ther another option? please advise
>
>     thanks in advance!
>     -- 
>     users mailing list
>     users at lists.fedoraproject.org <mailto:users at lists.fedoraproject.org>
>     To unsubscribe or change subscription options:
>     https://admin.fedoraproject.org/mailman/listinfo/users
>     Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>     Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>     Have a question? Ask away: http://ask.fedoraproject.org
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20160205/cedc95eb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20160205/cedc95eb/attachment-0001.sig>


More information about the users mailing list