> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Terminal security

> Turn secure keyboard entry in Terminal on or off on your Macs, so other applications can't read what is typed in it.

The Terminal security control sets secure keyboard entry in Terminal on your Macs. With secure keyboard entry on, other applications can't read what employees type in Terminal, such as passwords and commands. The CIS benchmark for macOS asks for it.

## Platform compatibility

| macOS | Windows | Linux | iOS / iPadOS | Android |
| - | - | - | - | - |
| ✅ | | | | |

Requires macOS 15 or later.

## Set up the control

**1. Add a configuration**

Go to **MDM** > **Controls**, open **Terminal security**, then click **Add configuration**.

**2. Configure the setting**

Set **Secure keyboard entry in Terminal** to **On** or **Off**. It's **On** by default.

**3. Select targeting**

Choose which devices to apply the configuration to: all macOS devices, specific device groups, or a custom target. Click **Activate** to deploy the configuration. **Save** keeps it inactive.

## Settings

| Setting | Options |
| - | - |
| **Secure keyboard entry in Terminal** | **On**, **Off** |

* **On** keeps other applications from reading what is typed in Terminal on the Mac.
* **Off** lets them read it again.

## How it works

Primo deploys a configuration profile with a custom settings payload for Terminal, which sets its secure keyboard entry preference. The preference applies to every user of the Mac.

When you remove the configuration, the profile is removed and Terminal goes back to the employee's own setting.

## Modify or remove the control

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

## Related articles

* [Controls overview](https://docs.getprimo.com/mdm/policies/overview.md)
* [SSH server](https://docs.getprimo.com/mdm/policies/ssh-server.md)
* [System services](https://docs.getprimo.com/mdm/policies/system-services.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.