MAC_SEEOTHERUIDS(4)
π MAC_SEEOTHERUIDS(4) π
okay so bestie, we're in the Kernel Interfaces Manual today and the star of the show is mac_seeotheruids β a whole module whose entire personality is deciding whether users get to see other users. yeah. that's it. that's the vibe. π
β¨ NAME β¨
mac_seeotheruids β the simple policy that controls whether users see other users π«Ά
πΈ SYNOPSIS πΈ
so there are two ways to get this baby in your life, and I need you to pick one, not both, mwah π
Way 1: compile it into your kernel. put these lines in your kernel configuration file:
options MAC
options MAC_SEEOTHERUIDS
Way 2: load the module at boot time instead. put this line in your kernel configuration file:
options MAC
and then in loader.conf(5):
mac_seeotheruids_load="YES"
like. look at that. two lines and a dream. slay β
π¦ DESCRIPTION π¦
the mac_seeotheruids policy module, when it's enabled, denies users the ability to see processes or sockets owned by other users. periodt. that's the whole assignment. π
to enable mac_seeotheruids, set the sysctl OID security.mac.seeotheruids.enabled to 1. π
to let the superuser be aware of other credentials by virtue of privilege, set the sysctl OID security.mac.seeotheruids.suser_privileged to 1.
to allow users to see processes and sockets owned by the same primary group, set the sysctl OID security.mac.seeotheruids.primarygroup_enabled to 1. group chat energy, honestly π«Ά
to allow processes with a specific group ID to be exempt from the policy, set the sysctl OID security.mac.seeotheruids.specificgid_enabled to 1, and set security.mac.seeotheruids.specificgid to the list of group IDs to be exempted. exemptions!! we love a VIP list π
π Label Format
not a single label is defined for mac_seeotheruids. that's right, bestie β no labels. none. the void. π
π₯ SEE ALSO π₯
the whole friend group showed up, iykyk:
mac(4)mac_biba(4)mac_bsdextended(4)mac_ddb(4)mac_ifoff(4)mac_lomac(4)mac_mls(4)mac_none(4)mac_partition(4)mac_portacl(4)mac_test(4)mac(9)
β HISTORY β
the mac_seeotheruids policy module first appeared in FreeBSD 5.0 and was developed by the TrustedBSD Project. a little legend behavior, ngl π§
π 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. iconic paperwork moment, genuinely π
π BUGS π
okay listen, the important part. 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. fr fr, do not use this alone and call it a day π
kisses, the mac_seeotheruids(4) girlie π β page courtesy of Debian, dated Februrary 26, 2026 (yes, spelled exactly like that, no cap π)
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2002 Networks Associates Technology, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms