Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #335
Difficulty: Easy
Linus Torrent is the creator of the Linux kernel, which went on to be used in Linux, Android, and Chrome OS.
True or False?
Linux & Unix Commands - Search Man Pages

maclabel(7) [freebsd man page]

MACLABEL(7)					       BSD Miscellaneous Information Manual					       MACLABEL(7)

maclabel -- Mandatory Access Control label format DESCRIPTION
If Mandatory Access Control, or MAC, is enabled in the kernel, then in addition to the traditional credentials, each subject (typically a user or a socket) and object (file system object, socket, etc.) is given a MAC label. The MAC label specifies the necessary subject-specific or object-specific information necessary for a MAC security policy to enforce access control on the subject/object. The format for a MAC label is defined as follows: policy1/qualifier1,policy2/qualifier2,... A MAC label consists of a policy name, followed by a forward slash, followed by the subject or object's qualifier, optionally followed by a comma and one or more additional policy labels. For example: biba/low(low-low) biba/high(low-high),mls/equal(equal-equal),partition/0 SEE ALSO
mac(3), posix1e(3), mac_biba(4), mac_bsdextended(4), mac_ifoff(4), mac_mls(4), mac_none(4), mac_partition(4), mac_seeotheruids(4), mac_test(4), login.conf(5), getfmac(8), getpmac(8), ifconfig(8), setfmac(8), setpmac(8), mac(9) HISTORY
MAC first appeared in FreeBSD 5.0. AUTHORS
This software was contributed to the FreeBSD Project by NAI Labs, the Security Research Division of Network Associates Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS research program. BSD
October 25, 2002 BSD

Check Out this Related Man Page

MAC_PARTITION(4)					   BSD Kernel Interfaces Manual 					  MAC_PARTITION(4)

mac_partition -- process partition policy SYNOPSIS
To compile the process partition policy into your kernel, place the following lines in your kernel configuration file: options MAC options MAC_PARTITION Alternately, to load the process partition module at boot time, place the following line in your kernel configuration file: options MAC and in loader.conf(5): mac_partition_load="YES" DESCRIPTION
The mac_partition policy module implements a process partition policy, which allows administrators to place running processes into ``partitions'', based on their numeric process partition (specified in the process's MAC label). Processes with a specified partition can only see processes that are in the same partition. If no partition is specified for a process, it can see all other processes in the system (subject to other MAC policy restrictions not defined in this man page). No provisions for placing processes into multiple partitions are available. Label Format Partition labels take on the following format: partition/value Where value can be any integer value or ``none''. For example: partition/1 partition/20 partition/none SEE ALSO
mac(4), mac_biba(4), mac_bsdextended(4), mac_ifoff(4), mac_lomac(4), mac_mls(4), mac_none(4), mac_portacl(4), mac_seeotheruids(4), mac_test(4), maclabel(7), mac(9) HISTORY
The mac_partition policy module first appeared in FreeBSD 5.0 and was developed by the TrustedBSD Project. AUTHORS
This software was contributed to the FreeBSD Project by Network Associates Labs, the Security Research Division of Network Associates Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS research program. BUGS
See mac(9) concerning appropriateness for production use. The TrustedBSD MAC Framework is considered experimental in FreeBSD. While the MAC Framework design is intended to support the containment of the root user, not all attack channels are currently protected by entry point checks. As such, MAC Framework policies should not be relied on, in isolation, to protect against a malicious privileged user. BSD
December 9, 2002 BSD

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers


Hello I need to show my MAC-Adress on a Unix System, is there someone that know how? (2 Replies)
Discussion started by: nkochr
2 Replies

2. UNIX for Dummies Questions & Answers

forward emails with specific subject line

Is there a way to forward email from to only when the subject line is "this subject"? I figure it would be done with .forward somehow if it is possible. I'm using Red Hat 9 and sendmail. (4 Replies)
Discussion started by: pmj1970
4 Replies

3. BSD

How to Mask ur MAC address in BSD

I havent been using UNIX for that long, so this question might sound quite stupid to most of you. I want to know how to mask my MAC address I found a command on how to do it but I dont think it works: "ifconfig <interface> link <address>" Unfortunately being the n00b I am, I dont really even... (1 Reply)
Discussion started by: PenguinDevil
1 Replies

4. IP Networking

changing MAC address

hi, i wanted to know how to change the MAC id of the machine i`m using.. I know the MAC is permanent n on the ROM, but i wanted to know if there was any way to change it during tht particular session.. also.. if it was possible.. could it be kept changed for sometime...? (8 Replies)
Discussion started by: caltiger
8 Replies

5. UNIX for Dummies Questions & Answers

Help extracting MAC addresses from List

Hello all. I have a large number of text files outputted from various Netstumbler Wireless Scans; from which I need to extract the MAC addresses of the various Access Points. The Text files look like this: # $Creator: Network Stumbler Version 0.4.0 # $Format: wi-scan summary with... (9 Replies)
Discussion started by: dhs23
9 Replies

6. Solaris

Cannot read MAC in a Zone Container

Hi, I have an app which reads MAC address. I read that Solaris 10 8/07 offers the solution to set MAC address for each container but I cannot find how to do that in any docs I found on Sun :( do you know how ? True that installed I only have Solaris 10 5/08. In a container zone it generates... (3 Replies)
Discussion started by: potro
3 Replies

7. OS X (Apple)

MAC OSX and UNIX server based software

I am a MAC user evaluating electronic medical record software. I found a package which is UNIX server based. Can anyone tell me if MAC OS X can be used in this situation. The software is nexgen ( How UNIX "compatible" is MAC OS X? I apologize for my very limited UNIX... (7 Replies)
Discussion started by: kaye32608
7 Replies

8. Cybersecurity

MAC Address spoofing

There is a question in the SCO section asking for information on how to change the MAC address of a NIC. Is there a valid reason for wanting to change the MAC address? (1 Reply)
Discussion started by: jgt
1 Replies

9. OS X (Apple)

Does MAC OSX follow POSIX?

i mean if i coded an application for Linux using System Calls and no libs, and compiled it on MAC, will it work? thanks (6 Replies)
Discussion started by: JonhyM
6 Replies

10. Shell Programming and Scripting

Checking for a valid MAC Address

I have a ksh script and would like to validate a MAC address that is input by the user: 00:14:4F:FC:00:49 example: MAC=`/usr/bin/ckint -p "Enter MAC address"` echo $MAC echo " " Obviously chkint will not work, but does anyone have any suggestions? Thanks (9 Replies)
Discussion started by: hxman
9 Replies

11. Programming

[C] Change IP and MAC address

Hello, I need to write a program using C language which allow me to change the IP and MAC addresses of a given interface... Now I fork the process and by exec I'm using the "ifconfig interf X.X.X.X" command... but i can't use this solution because i have to avoid the context switch... Can someone... (4 Replies)
Discussion started by: gilby985
4 Replies

12. OS X (Apple)

Linux Server Instalation

Hello, I am new to Linux. I have just purchased Apple MACPRO with 12 core, 32 GB RAM, 2TB hard drive, MAC OS Lion installed. I want to install Linux server on this machine.And can I run both MAC OS Lion and Linux Server side by side ? Can I put all my data at one place and use that data from any... (5 Replies)
Discussion started by: Bioinfomaticist
5 Replies

13. BSD


Hi guys! can anyone help me with getpmac how it works? i'm trying to know what is the current label of the (each) user? and can i do it with maclabel as well? btw i'm using FreeBSD 6.2 Regards, ned (3 Replies)
Discussion started by: ourned
3 Replies

14. UNIX for Dummies Questions & Answers

Check for entry of specific pattern

Hey Guys and Gals, I am having trouble with what I thought shouldn't be hard.. In a script I am working on there is a need to enter a MAC address. MAC addresses are formatted ; XX:XX:XX:XX:XX:XX where X can be 0-9, a-f or A-F So in the sample script the query is something... (4 Replies)
Discussion started by: TAPE
4 Replies

15. IP Networking

MAC Address - Four Interfaces with the same MAC Address

four interfaces with ifconfig all interfaces have the same mac. If is not set for unique. but it still works. what difference does it make to have all macs the same or different? (4 Replies)
Discussion started by: rrodgers
4 Replies

Featured Tech Videos