mac_do: add a new MAC/do policy and mdo(1) utilityThis policy enables a user to become another user without having to beroot (hence no setuid binary). it is configured via rules using sysctlsecur
mac_do: add a new MAC/do policy and mdo(1) utilityThis policy enables a user to become another user without having to beroot (hence no setuid binary). it is configured via rules using sysctlsecurity.mac.do.rulesFor example:security.mac.do.rules=uid=1001:80,gid=0:anyThe above rule means the user identifier by the uid 1001 is able tobecome user 80Any user of the group 0 are allowed to become any user on the system.The mdo(1) utility expects the MAC/do policy to be installed and itsrules defined.Reviewed by: desDifferential Revision: https://reviews.freebsd.org/D45145
show more ...