<div dir="ltr">SEL takes a bit of getting your head round (well, I found it the hardest part of the Red Hat Engineer course I did). <div><br></div><div>The notes from Red Hat are very good and I include two links for those who wish top learn more.</div>
<div><br></div><div>Regards,</div><div><br></div><div>Phill.</div><div>1. <a href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Security-Enhanced_Linux/index.html">https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Security-Enhanced_Linux/index.html</a></div>
<div>2. <a href="http://www.redhat.com/magazine/001nov04/features/selinux/">http://www.redhat.com/magazine/001nov04/features/selinux/</a></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 August 2013 13:30, Tony Arnold <span dir="ltr"><<a href="mailto:tony.arnold@manchester.ac.uk" target="_blank">tony.arnold@manchester.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 22/08/13 13:06, pete smout wrote:<br>
> On 22/08/13 12:33, Kris Douglas wrote:<br>
>> On 22 August 2013 12:21, pete smout <<a href="mailto:psmouty@live.com">psmouty@live.com</a>> wrote:<br>
>>> On 22/08/13 11:59, pete smout wrote:<br>
>>>> On 22/08/13 11:41, Paul Sutton wrote:<br>
>>>>> On 21/08/13 22:12, scoundrel50a wrote:<br>
>>>>>> On 21/08/2013 17:07, Colin Law wrote:<br>
>>>>>>> On 21 August 2013 16:57, Gareth France <<a href="mailto:gareth.france@gmail.com">gareth.france@gmail.com</a>> wrote:<br>
>>>>>>>> On 21/08/13 10:13, scoundrel50a wrote:<br>
>>>>>>>><br>
>>>>>>>> Hi, I really dont understand the attitude of attack when somebody posts<br>
>>>>>>>> something like this. Not everybody is competant in using Ubuntu, and<br>
>>>>>>>> not<br>
>>>>>>>> everybody understands the risks involved especially considering for<br>
>>>>>>>> years<br>
>>>>>>>> its been pushed as a safe OS. All i have done is post this to the<br>
>>>>>>>> group, I<br>
>>>>>>>> dont appreciate this attitude. It doesnt give Ubuntu a good light when<br>
>>>>>>>> people see this.<br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> On the whole I have stopped posting to this group since there are a<br>
>>>>>>>> number<br>
>>>>>>>> of people who are obviously on pedestals above us lowly minions. Not<br>
>>>>>>>> so long<br>
>>>>>>>> back after starting a thread I was shot down in an unforgivably<br>
>>>>>>>> harsh manner<br>
>>>>>>>> by people who made assumptions about me based on absolutely no<br>
>>>>>>>> evidence and<br>
>>>>>>>> proceeded to trample all over my opinion and my self esteem.<br>
>>>>>>>><br>
>>>>>>>> I have said it before and I'll say it again, not everyone is an<br>
>>>>>>>> expert, not<br>
>>>>>>>> everyone understands things that are obvious to you. Be careful how you<br>
>>>>>>>> respond as we are supposed to be wanting to encourage mass adoption<br>
>>>>>>>> and as<br>
>>>>>>>> many new users as possible. Insulting them, depressing them, making<br>
>>>>>>>> them<br>
>>>>>>>> feel small, they will only leave.<br>
>>>>>>> I don't think we know what it was that scoundrel50a was taking<br>
>>>>>>> exception to as the post he complained about was not about anything he<br>
>>>>>>> said.  Scoundrel50a can you clarify exactly what it was that worried<br>
>>>>>>> you?<br>
>>>>>>><br>
>>>>>>> Colin<br>
>>>>>>><br>
>>>>>> I'm sorry but if you think that Peter Maddison's reply to me was<br>
>>>>>> acceptable then I dont see the point in saying anything, and you shot<br>
>>>>>> me down yourself. Which is why I answered the way I did.<br>
>>>>>><br>
>>>>>> I dont see any posts on here that warn people that Linux isnt<br>
>>>>>> completely safe and whenever its bought up, people are treated like<br>
>>>>>> they are idiots and its always those people that are knowledgeable<br>
>>>>>> about Linux.....the rest of us are treated like I have been now.<br>
>>>>>><br>
>>>>>> An its not just this thread its thread after thread that people are<br>
>>>>>> shouted down in, by the same people every time.<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>> If there is a threat out there,  no matter small people should be a)<br>
>>>>> aware of it, and b) advised on how to avoid problems,  if everyone does<br>
>>>>> small things to protect their own systems, then surely the wider<br>
>>>>> community benefits,<br>
>>>>><br>
>>>>> Look at how many bot nets are out there,  there seems to be several<br>
>>>>> million compromised Windows computers out there all chugging away and<br>
>>>>> awaiting some instruction to do something nasty,<br>
>>>>><br>
>>>>> some of the suggestions offered are easy to implement others not so<br>
>>>>> unless you understand what it is asking you to do<br>
>>>>><br>
>>>>> #<br>
>>>>><br>
>>>>><br>
>>>>> Do not install unsigned packages<br>
>>>>> # Do not add unofficial repositories without investigating said repository<br>
>>>>> # Keep your system up to date at all times<br>
>>>>> # Keep all browser plugins up to date<br>
>>>>> # If your distribution has SELinux, use it<br>
>>>>> # Do not let others install software on your machines<br>
>>>>> # Use solid passwords<br>
>>>>> # If asked to enter root user (or sudo) password, always know why<br>
>>>>><br>
>>>>> Maybe what is needed here are links to sites that advise on all the<br>
>>>>> above issues,  the reference to SELinux could have a link to the SELinux<br>
>>>>> website and an explanation of what this is, why its important. useful<br>
>>>>> and what I should use it,  it says don't install things you don't<br>
>>>>> understand,  well you have asked me to install SELinux which i sort of<br>
>>>>> understand does this mean I should or should not install it,  (look at<br>
>>>>> that from a complete new user viewpoint)<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> Sometimes when advice sounds like the obvious to an expert it really<br>
>>>>> does baffle the novice,  lets take a step back and address each of the<br>
>>>>> above and perhaps help people (esp new users) to make their systems more<br>
>>>>> secure through education and advice.<br>
>>>>><br>
>>>>> I am happy to host information on the dcglug website blog if people can<br>
>>>>> help me explain each of the above points please, this information will<br>
>>>>> then be in one place and can act to help others both expert and novice<br>
>>>>> help others.<br>
>>>>> Hope this helps<br>
>>>>><br>
>>>>> In fact such information could or would quite possibly be something to<br>
>>>>> include in the ubuntu-manual project and lubuntu documentation,<br>
>>>>><br>
>>>>> Paul<br>
>>>>><br>
>>>>><br>
>>>> Hi,<br>
>>>> Although I have heard of SELinux I have never used it, I believe (not<br>
>>>> certain) that it comes as default on modern *buntu systems?!<br>
>>>> Does it need setting up, if so a link to a how to would be good!<br>
>>>> What are the benefits if using / installing it over not having it?<br>
>>>> What are the pitfalls of using it (for example I use the mozilla ppa as<br>
>>>> the firefox version in the Ubunutu repos is too out of date for certain<br>
>>>> webpages, let alone from a security point of view, will it allow me to<br>
>>>> continue using it?)<br>
>>>><br>
>>>> I think some more research on my part is needed as in my everyday world<br>
>>>> SEL means Shelf Edge Label so the name leads to confusion ;)<br>
>>>><br>
>>>> Good Job I'm not working today and I have the time to research, if<br>
>>>> anyone has some good links on the subject I (if not anyone else) would<br>
>>>> be interested in seeing them, But google will provide the answers im sure!!<br>
>>>><br>
>>>> Thanks for giving me some more research.... I dont spend enough time in<br>
>>>> front of a screen (lol)<br>
>>>><br>
>>>> Pete Smout<br>
>>>><br>
>>>><br>
>>> Right a quick google of 'SELinux ubuntu 13.04' a link top of page to an<br>
>>> Amazon page trying to sell me a Ubunutu DVD for £6.49 (even I am not<br>
>>> that stupid) the SELinux wiki page is helpful if long-winded, and I have<br>
>>> found a folder /selinux which is completely empty on my system? does<br>
>>> that mean it is there?<br>
>>> Or is it there and never been configured for use?<br>
>>> And on a single user system (as opposed to a server) do I need it at all?<br>
>>><br>
>>> I apologize in advance if I (1) should start a new thread (will happily<br>
>>> do so), or (2) am asking stupid questions, but this thread has got me<br>
>>> thinking......<br>
>>><br>
>>> Pete Smout<br>
>><br>
>> Try searching for AppArmor, SEL is not used on Ubuntu.<br>
>><br>
>><br>
>><br>
> Many thanks for the prompt replies, If it is not used what is the<br>
> directory for? (/selinux is completely empty)<br>
> A search in Synaptic for selinux shows that only libselinux1 and<br>
> libsemanage1 are installed on my system, are these shared libraries with<br>
> AppArmor or left over after upgrades (this system started out life as<br>
> 10.04 LTS and has been through all upgrades 10.10, 11.04 etc). I am<br>
> always nervous about removing lib files as the consequences may not be<br>
> noticed for weeks if not months, and trying to remember everything to<br>
> put them back is getting harder as I get older!<br>
><br>
> As for AppArmor I have seen this mentioned when adding / removing<br>
> packages & updates but never had cause to investigate it. It's<br>
> reassuring to know that it sits there working behind the scenes to<br>
> protect me and my data!<br>
><br>
> I am reasonably confidant that all the PPA's in use on my system are<br>
> harmless as I have pretty much only used ones from 'trustworthy' sources<br>
> i.e. Mozilla and hopefully I am not stupid enough to just install things<br>
> blindly with no research first, but as I am trying on an almost daily<br>
> basis to convert those less fortunate than us to the way of free open<br>
> source software & the delights of Ubuntu, the more info I am armed with<br>
> the better.<br>
> With great power comes great responsibility!<br>
><br>
> The lesson here is look before you leap, only add things you can trust,<br>
> and if you act as a tester for app devs then make sure you can trust<br>
> them as there are pitfalls in the most random of places (I am sure 99.9%<br>
> are ok but someone has to lose this particular lotto, hopefully not me)<br>
<br>
</div></div>Have a look at the package 'policycoreutils' which provides tools for<br>
managing SELinux. I don't think this is the same as apparmour.<br>
<br>
I could be wrong but I thought SELinux was all about implementing<br>
non-discretionary access controls. User's access to objects such as<br>
files etc is determined by who they are and what the object attributes.<br>
The control is set by the system manager and usually cannot be overriden<br>
by the user.<br>
<br>
Have a look at<br>
<a href="http://en.wikipedia.org/wiki/Trusted_Computer_System_Evaluation_Criteria" target="_blank">http://en.wikipedia.org/wiki/Trusted_Computer_System_Evaluation_Criteria</a><br>
for more details on this.<br>
<br>
Regards,<br>
Tony.<br>
<div class="im">><br>
> Thanks again<br>
><br>
> Pete S<br>
><br>
><br>
><br>
<br>
<br>
--<br>
</div>Tony Arnold,                        Tel: <a href="tel:%2B44%20%280%29%20161%20275%206093" value="+441612756093">+44 (0) 161 275 6093</a><br>
Head of IT Security,                Fax: <a href="tel:%2B44%20%280%29%20705%20344%203082" value="+447053443082">+44 (0) 705 344 3082</a><br>
University of Manchester,           Mob: <a href="tel:%2B44%20%280%29%20773%20330%200039" value="+447733300039">+44 (0) 773 330 0039</a><br>
Manchester M13 9PL.                 Email: <a href="mailto:tony.arnold@manchester.ac.uk">tony.arnold@manchester.ac.uk</a><br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
<a href="mailto:ubuntu-uk@lists.ubuntu.com">ubuntu-uk@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk</a><br>
<a href="https://wiki.ubuntu.com/UKTeam/" target="_blank">https://wiki.ubuntu.com/UKTeam/<br clear="all"><div><br></div>-- <br><a href="https://wiki.ubuntu.com/phillw" target="_blank">https://wiki.ubuntu.com/phillw</a>
</a>
</div></div></blockquote></div></div>