Copyright (c) 2002 Networks Associates Technology, Inc. All rights reserved. This software was developed for the FreeBSD Project by Chris Costello at Safeport Network Services and Network Associates Laboratories, 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. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following...
NAMEmac_seeotheruids - simple policy controlling whether users see other users
SYNOPSISTo compile the policy into your kernel, place the following lines in your kernel configuration file:
options MAC options MAC_SEEOTHERUIDS
Alternately, to load the module at boot time, place the following line in your kernel configuration file:
and in loader.conf5:
DESCRIPTIONThe sysctl Cm net.inet.tcp.syncookies policy module, when enabled, denies users to see processes or sockets owned by other users.
To enable , set the sysctl OID security.mac.seeotheruids.enabled to 1. To permit superuser awareness 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.
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 security.mac.seeotheruids.specificgid to the group ID to be exempted.