Displaying 4 results from an estimated 4 matches for "setfmac".
Did you mean:
set_mac
2013 Apr 28
0
setfsmac and LOMAC aux grades - inconsistent behaviour
...following problem. Here's the relevant part of the script:
check_startmsgs && echo -n "Setting MAC policy: "
getpmac
id
ls -lZ /sbin/dhclient
/usr/sbin/setpmac lomac/equal,mls/equal \
/usr/sbin/setfsmac -v -ef /usr/home/test/mac.policy /
ls -lZ /sbin/dhclient
setfmac lomac/high\[low\] /sbin/dhclient
ls -lZ /sbin/dhclient
check_startmsgs && echo '.'
It produces the following output on boot:
Setting MAC policy: lomac/high(low-high),mls/low(low-high)
uid=0(root) gid=0(wheel) groups=0(wheel)
-r-xr-xr-x 1 root wheel lomac/high,mls/low 93616...
2004 Jan 02
1
Questions about MAC
...Hi,
I'm examining Biba and MLS MAC policies and something is
not clear for me. Unless I'm doing something wrong,
it seems policies are enforced only for reading, but
not writing.
1) Biba
I've created test file with biba/127 label:
$ echo "Message" > file_biba_127.txt
$ setfmac biba/127 file_biba_127.txt
$ getfmac file_biba_127.txt
file_biba_127.txt: biba/127,mls/low
Trying to read with different labels:
$ setpmac biba/high more file_biba_127.txt
file_biba_127.txt: Permission denied
$ setpmac biba/128 more file_biba_127.txt
file_biba_127.txt: Permission denied
$ se...
2003 Sep 03
3
MAC problems
FreeBSD version: 5.1-RELEASE
Hi,
I'm quite new to FreeBSD. I've check list archives and
read a handbook, but I didn't find solution to my problem
and I hope this is not off-topic.
I've installed 5.1-RELEASE, enabled ACLs on the filesystems
and I wanted to test MAC features. I'm also new to MAC, so
perhaps this is some my mistake.
When I enable mac_biba or mac_lomac (in
2005 Feb 26
0
mac questions: stopping root from reading /home && mac_biba stops clean shutdown
...-----
Hash: SHA1
I just try to understand the concepts and possiblities behind the mac
framework. After days of puzzling I found one puzzling behaviour and
still have one immediate question (this is on 5-stable)
- - when I enable mac_biba, set root to biba/equal (or any value,
actually), and do a setfmac -R biba/equal / I expect biba to be
activated without any change to the system behaviour. This seems to be
correct, safe for one detail: the system does not shutdown cleanly: it
syncs, but never gets to power down or reboot and the disks are not
marked clean, so fsck run on next boot.
Is this an e...