Overview
When you remove local admin rights on macOS, users will not be able to use sudo on macOS workstations. If you need to allow sudo for certain users, you can create rules to automatically elevate sudo commands.
- Create a rule for sudo with a descriptive name
- Choose
sudofor filename - Use certificate elements to check for
Apple Inc.in the organization attribute - Allow application to execute and elevate
- Assign the rule to certain devices you need

