Re: disabling selinux entirely

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-01-07 at 11:25 -0500, John Aldrich wrote:
> On Wednesday 07 January 2009, Stephen Smalley wrote:
> > On Wed, 2009-01-07 at 10:23 -0500, John Aldrich wrote:
> > > I thought that by setting selinux to "disabled" in the config file, I
> > > wouldn't be bothered by it's alerts any more. How do I stop SELinux
> > > from running, period? I don't want any alerts from SELinux regarding
> > > stuff I'm trying to install.
> >
> > SELINUX=disabled in /etc/selinux/config should have done the trick for
> > you.  Can you provide the output of:
> > $ cat /etc/selinux/config
> > $ dmesg | grep SELinux:
> >
> [john@SLAVE1 ~]$ cat /etc/selinux/config
> # This file controls the state of SELinux on the system.
> # SELINUX= can take one of these three values:
> #       enforcing - SELinux security policy is enforced.
> #       permissive - SELinux prints warnings instead of enforcing.
> #       disabled - SELinux is fully disabled.
> SELINUX=disabled
> # SELINUXTYPE= type of policy in use. Possible values are:
> #       targeted - Only targeted network daemons are protected.
> #       strict - Full SELinux protection.
> SELINUXTYPE=targeted
> 
> [john@SLAVE1 ~]$ dmesg | grep selinux
> SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
> 
> Note that I have not rebooted yet, if that's necessary.

Yes, reboot required.  It can only be done safely at boot or early init
(it unhooks selinux from the kernel code paths altogether).  BTW, it
doesn't matter now but I asked for "grep SELinux:" not "grep selinux",
which would have shown more messages.

-- 
Stephen Smalley
National Security Agency

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux