---
name: "setpmac"
section: "8"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/setpmac"
---

# setpmac(8)

run a command with a different MAC process label

## NAME

**setpmac** – run a command with a different MAC process label

## SYNOPSIS

**setpmac** *label* *command* \[*arg* *...*\]

## DESCRIPTION

The **setpmac** utility forks a new process, attempts to set the label to *label* and if successful, runs *command*.

## SEE ALSO

[mac(4)](/mac/4.md), [maclabel(7)](/maclabel/7.md), [getfmac(8)](/getfmac/8.md), [getpmac(8)](/getpmac/8.md), [setfmac(8)](/setfmac/8.md)

## 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.
