Skip to main content
The User account control control sets how employees get administrator rights on their devices. On Windows, choose the elevation prompts and how Admin Approval Mode works. On macOS and Linux, set how often sudo asks for a password, the umask of the commands it runs and, on a Mac, who can change system-wide settings.

Platform compatibility

Requires macOS 15 or later. On Linux, requires Debian 12, Ubuntu 22.04, RHEL 8 or Fedora 43, or later.

Set up the control

1

Add a configuration

Go to MDM > Controls and open User account control. Select the platform tab, then click Add configuration.
2

Configure the settings

Set each setting you want to enforce. See the settings below. Configure at least one setting.
3

Select targeting

Choose which devices to apply the configuration to: all devices on that platform, specific device groups, or a custom target. Click Activate to deploy the configuration. Save keeps it inactive.
A setting left empty or on Not configured isn’t written: the device keeps its own setting.

Settings

  • One authentication for sets how far a sudo password reaches: Each terminal asks again in each new terminal window, Each parent process in each new process that runs sudo.
  • Umask sets the permissions of the files created by the commands sudo runs.
  • Ask an administrator password for each system-wide setting set to On makes System Settings ask for an administrator password each time someone changes a system-wide setting, instead of once for all of them.

How it works

Primo runs a script that writes the sudo settings to a file of its own in /etc/sudoers.d. The script checks the file before installing it, and takes it back if sudo stops working.For Ask an administrator password for each system-wide setting, the script changes the System Settings rights of the Mac’s authorization database. It saves the Mac’s own rights first and puts them back when you turn the setting off or remove the configuration.When you remove the configuration, Primo deletes the sudo file and the Mac goes back to its own sudo settings.

Modify or remove the control

Open the control from MDM > Controls to edit, deactivate or replace a configuration.