diff options
author | chris <chris@FreeBSD.org> | 2003-02-16 00:57:48 +0000 |
---|---|---|
committer | chris <chris@FreeBSD.org> | 2003-02-16 00:57:48 +0000 |
commit | 8ce1605e5f725e12f107475d2868cdb7c154cbb7 (patch) | |
tree | ce804b2a2ce78dd3fa416107198b36a1595d2265 | |
parent | 246f07880283aa319f95e687a6a51aab1bb36f10 (diff) | |
download | FreeBSD-src-8ce1605e5f725e12f107475d2868cdb7c154cbb7.zip FreeBSD-src-8ce1605e5f725e12f107475d2868cdb7c154cbb7.tar.gz |
Include a section about enabling MAC on UFS2 file systems. UFS1 is
a bit more challenging and will be added later.
Sponsored by: DARPA, Network Associates Laboratories
-rw-r--r-- | share/man/man4/mac.4 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/share/man/man4/mac.4 b/share/man/man4/mac.4 index 480a5f8..797c48b 100644 --- a/share/man/man4/mac.4 +++ b/share/man/man4/mac.4 @@ -60,6 +60,34 @@ Currently, the following MAC policy modules are shipped with .It Xr mac_seeotheruids 4 Ta "See-other-UIDs policy" Ta no Ta any time .It Xr mac_test 4 Ta "MAC testing policy" Ta no Ta any time .El +.Ss MAC Support for UFS2 File Systems +By default, file system enforcement of MAC policies relies on a single file +system label +(see +.Sx "MAC Labels" ) +in order to make access control decisions for all the files in a particular +file system. +On most systems, this is not the most desirable configuration. +In order to enable support for labeling files on an individual basis, +the +.Dq multilabel +flag must be enabled on the file system. +To set the +.Dq multilabel +flag, drop to single-user mode and unmount the file system, +then execute the following command: +.Pp +.Dl "tunefs -l enable" Sy filesystem +.Pp +where +.Sy filesystem +is either the mount point +(in +.Xr fstab 5 ) +or the special file +(in +.Pa /dev ) +corresponding to the file system on which to enable multilabel support. .Ss MAC Labels Each system subject (processes, sockets, etc.) and each system object (file system objects, sockets, etc.) can carry with it a MAC label. |