Research Menu

.
Skip Search Box

SELinux Mailing List

Re: avc_toggle and avc_enforcing

From: Stephen Smalley <sds_at_epoch.ncsc.mil>
Date: 14 Oct 2003 11:27:22 -0400


On Tue, 2003-10-14 at 08:15, Carlos Anísio Monteiro wrote:
> Please, where I find the commands: avc_toggle and avc_enforcing. What
> are it the packages where it are?

They no longer exist as programs. With the new SELinux API, you can simply 'cat /selinux/enforce' to see the current enforcing value, 'echo 1 > /selinux/enforce' to switch into enforcing mode, and 'echo 0 > /selinux/enforce' to switch into permissive mode (if permitted by the policy).

-- 
Stephen Smalley <sds@epoch.ncsc.mil>
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@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Tue 14 Oct 2003 - 11:27:35 EDT
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service