Speaking of which, I'd like to assemble a quick list of userland ( or more
accurately, adminland ) changes between the current release and the
previous non-/selinux release to update the documentation I've got, like
the U-FAQ. The ones I've noticed so far :
- avc_enforcing, avc_toggle replaced by /selinux/enforcing
- id command requires -c to display context
This has been converted to -Z in latest patches, for consistency.
I'm still working on getting my test system up to the new 2.4 and 2.6,
unfortunately I rendered it unbootable last night so it will take a little
longer than expected ( note to self : make sure kernel can build an initrd
before removing /boot/initrd* ).
Kerry
Stephen Smalley said:
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 > /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.