Cannot print to file in Fedora

"Jóhann B. Guðmundsson" johannbg at hi.is
Tue Mar 11 14:49:12 UTC 2008


Matej Cepl wrote:
> On 2008-03-11, 10:38 GMT, Jóhann B. Guðmundsson wrote:
>   
>> You do so by open a termina and run
>> echo 0 > /selinux/enforce
>>     
>
> You do so by opening a terminal and run (as root, of course):
>
> setenforce 0
>
> Matěj
>
>   
What both Matej and Tim forget to mention is
the fact that by running setenforce 0 command
it will change your selinux configuration settings permanently to permissive
hence on next reboot your selinux would be running in permissive mode
instead of enforcing mode and leave your computer less secure...

While running echo 0 > /selinux/enforce command will only
change the selinux configuration until next reboot instead of changing the
settings/configuration it was set on to begin with, which is both better
suited to deal with isolated insistents and securer encase you would forget
to set selinux back to enforcing mode.

If you would like to set selinux back to enforcing you can change the 0 to 1
in both commands.

Best regards
                  Johann B.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: johannbg.vcf
Type: text/x-vcard
Size: 381 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080311/4e21e870/attachment.vcf>


More information about the fedora-devel-list mailing list