Date: Mon, 23 Sep 2002 16:20:55 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 18025 for review Message-ID: <200209232320.g8NNKttq071884@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18025 Change 18025 by rwatson@rwatson_tislabs on 2002/09/23 16:20:07 Further annotations. Affected files ... .. //depot/projects/trustedbsd/misc/demo-20020725/mount.txt#2 edit Differences ... ==== //depot/projects/trustedbsd/misc/demo-20020725/mount.txt#2 (text+ko) ==== @@ -1,11 +1,26 @@ -As security officer +As security officer: + +Enable user mountpoints: + + sysctl vfs.usermount=1 + +Label the device so that the general has appropriate rights: + + setfmac mls/high /dev/acd0c + chown general /dev/acd0c + +Label the mountpoint so that the general has appropriate rights: + + setfmac mls/high /mnt + chown general /mnt + +As general: + +Mount the device: -sysctl vfs.usermount=1 -setfmac mls/high /dev/acd0c -setfmac mls/high /mnt -chown general /mnt + mount -o rdonly /dev/acd0c /mnt -As general +Unmount the device: -mount -o rdonly /dev/acd0c /mnt + umount /mnt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209232320.g8NNKttq071884>