[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to test if SELinux is 'running'
- From: "Tom London" <selinux gmail com>
- To: fedora-selinux <fedora-selinux-list redhat com>
- Subject: Re: How to test if SELinux is 'running'
- Date: Thu, 11 Oct 2007 10:13:06 -0700
On 10/11/07, Tom London <selinux gmail com> wrote:
> What is the 'approved' method for determining if SELinux is 'running',
> that is, active, and in either enforcing or permissive mode?
>
> If my feeble memory serves me, there used to be a 'isSELinux' or some
> such, but I can't seem to find this anymore.
>
> I'd like to modify some scripts to work both with and without SELinux
> active, e.g., vmware. It is currently testing against the contents of
> /selinux/enforce, but that does not seem right....
>
> Thanks,
> tom
> --
Sorry, found it, 'selinuxenabled'.
That still the 'approved way'?
tom
--
Tom London
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]