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

Re: Determining if SELinux is installed


On Tue, 2005-02-15 at 11:48, Scott Cain wrote:
> Thanks.  I guess it will have to be the last option, since the installer
> is in perl, so I can't (directly) use is_selinux_enabled, and
> since /usr/sbin isn't typically in a user's path, I can't count on that
> either.  So `grep selinuxfs /proc/filesystems` it is!

Hmm...selinuxenabled (and the other trivial utilities from libselinux)
used to live in /usr/bin, but Red Hat moved them to /usr/sbin.  Perhaps
some of them should still be there for this type of usage.

-- 
Stephen Smalley <sds@xxxxxxxxxxxxxx>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


This mailing list archive is a service of Copilot Consulting.