Skip to main content

List of Linux Policies

Swif provides policies for Linux devices, so you can manage their settings, security, and compliance from one place.

Supported distributions:


Available policies

All Linux policies work on both company-owned and BYOD devices.

Policy

What it controls

Min. OS

BYOD compatible

Linux Ansible Policy

Runs Ansible playbooks on devices, with inventories, variable files, and Ansible Vault for secrets. Runs on the device itself, or on other hosts over SSH.
​Learn more →

Any supported Linux distro

Yes

Linux Application Block Policy

Blocks desktop or command-line apps, by package name or path.
​Learn more →

Any supported Linux distro

Yes

Linux Azure Login Policy

Lets users sign in to devices with Microsoft Entra ID (formerly Azure AD).
​Learn more →

Ubuntu and Fedora

Yes

Linux Bluetooth Policy

Turns Bluetooth on or off, and sets discoverability and pairing rules.
​Learn more →

Any supported Linux distro

Yes

Linux Cron Policy

Restarts devices every few days, or on a set date.
​Learn more →

Any supported Linux distro

Yes

Linux Device CVE Report Policy

Vulnerability detection with the Swif Security agent.
​Learn more →

Any supported Linux distro

Yes

Linux Docker Policy

Controls which Docker images can run on devices.
​Learn more →

Any supported Linux distro

Yes

Linux Encryption Recovery Policy

Stores LUKS recovery keys in Swif, and sends recovery unlock commands.
​Learn more →

Any supported Linux distro

Yes

Linux Firefox Extension Policy

Installs or blocks Firefox add-ons, including Swif Browser Security.
​Learn more →

Any supported Linux distro

Yes

Linux Firewall Policy

Manages iptables and nftables firewall rules, by table, chain, match criteria, and action.
​Learn more →

Any supported Linux distro

Yes

Linux Firmware Update Policy

Manages how firmware updates are found and installed.
​Learn more →

Any supported Linux distro

Yes

Linux Google Chrome Browser Policy

Manages key Google Chrome settings.
​Learn more →

Any supported Linux distro

Yes

Linux Google Chrome Extension Deployment & Blocking Policy

Installs or blocks Chrome and Chromium extensions, including Swif Browser Security.
​Learn more →

Any supported Linux distro

Yes

Linux Google Login Policy

Lets users sign in to devices with their Google Workspace accounts.
​Learn more →

Any supported Linux distro

Yes

Linux Guest Login Policy

Controls whether users can sign in with a guest session.
​Learn more →

Any supported Linux distro

Yes

Linux Home Encryption Policy

Encrypts specific users' home folders, as an alternative to full-disk encryption.
​Learn more →

Any supported Linux distro, without TPM

Yes

Linux Login Message Policy

Shows a custom message on the login screen.
​Learn more →

Any supported Linux distro

Yes

Linux OS Upgrade Restriction Policy

Restricts OS upgrades: how far devices can upgrade (major, minor, security only, or frozen), the update channel, packages to hold back, and upgrade notifications.
​Learn more →

Any supported Linux distro

Yes

Linux Password Policy

Sets local account password length, complexity, and expiry, with PAM. Applies to command-line tools only; KDE's password settings aren't supported.
​Learn more →

Any supported Linux distro

Yes

Linux Printer Policy

Adds CUPS printers, each with a queue name, connection method, and driver.
​Learn more →

Any supported Linux distro

Yes

Linux RADIUS Policy

Connects devices to secure Wi-Fi (WPA2 or WPA3 Enterprise) through RADIUS.
​Learn more →

Any supported Linux distro

Yes

Linux Screen Saver Policy

Sets the idle lock, timeout, and screen blanking, for GNOME, Xfce, MATE, and Cinnamon.
​Learn more →

Any supported Linux distro

Yes

Linux Software Update Policy

Installs package updates on a schedule, and adds external package repositories.
​Learn more →

Any supported Linux distro

Yes

Linux SSH User Policy

Gives users SSH access with their public keys. Swif creates the accounts, and installs the keys.
​Learn more →

Any supported Linux distro

Yes

Linux SSHD Policy

Manages OpenSSH server settings.
​Learn more →

Any supported Linux distro

Yes

Linux Sudoer Policy

Controls which users and groups can run commands with sudo.
​Learn more →

Any supported Linux distro

Yes

Linux Swif Remote Desktop Policy

Installs Swif Remote Desktop, so admins can see and control the device's screen from the Swif console. Replaces the RustDesk policy.
​Learn more →

Any supported Linux distro with a desktop

Yes

Linux Tracking Policy

Tracks USB activity, and device lock and unlock events.
​Learn more →

Any supported Linux distro

Yes

Linux USB Policy

Allows or blocks removable storage, sets it to read-only, and matches devices by vendor and product ID.
​Learn more →

Any supported Linux distro

Yes

Linux User Authorization Policy

Controls how user passwords are enforced.
​Learn more →

Any supported Linux distro

Yes

Linux VPN Policy

Sets up VPN profiles.
​Learn more →

Any supported Linux distro

Yes

Linux VPN Policy (RADIUS)

Connects devices to IPsec/IKEv2 VPN, with RADIUS authentication.
​Learn more →

Any supported Linux distro

Yes

Linux VSCode Policy

Manages Visual Studio Code extension update settings.
​Learn more →

Any supported Linux distro

Yes

Linux Wi-Fi Policy

Sets up WPA2 and WPA3 Enterprise and personal Wi-Fi networks, and auto-join priorities.
​Learn more →

Any supported Linux distro

Yes

For Agentic Security policies on Linux, see the List of Agentic Security Policies.


How Linux policies work

The Swif agent applies and enforces Linux policies on each device.

  • Policies apply automatically after a device enrolls.

  • Changes are put back automatically. If someone changes a policy's setting on the device, the Swif agent sets it back to the policy's value at its next check. How often it checks depends on the policy. See below.

  • Manage policies in Device Management > Policies. To create one, select Create new policy > Configure a Policy.

How often settings are put back

Checked every

Policies

30 seconds

Application Block, Bluetooth, Remote Desktop (RustDesk), Swif Remote Desktop, SSH User, Tracking, Wi-Fi

3 minutes

Docker, Supply Chain Scanner

50 minutes

Device CVE Report, Firewall, OS Upgrade Restriction, Password, Printer, Screen Saver, SSHD, Sudoer, USB, User Authorization

8 hours 20 minutes

Agentic Security, Ansible, Azure Login, Encryption Recovery, Firefox Extension, Firmware Update, Google Chrome Browser, Google Chrome Extension Deployment & Blocking, Google Login, Guest Login, Home Encryption, Login Message, RADIUS, Software Update, VPN, VSCode

A change made on the device can last until the policy's next check. For example, for a policy checked every 8 hours 20 minutes, it can last up to 8 hours 20 minutes.


Requirements

  • A supported distribution, listed at the top of this article

  • The Swif agent, installed and connected to Swif

  • An internet connection, so devices can receive policies and report compliance


Tips

  • Encryption recovery: the Linux Encryption Recovery Policy stores LUKS recovery keys in Swif, so you don't need to record them by hand.

  • Works with any package manager: the Linux Application Block Policy works with apt, dnf, yum, pacman, and others.

  • Match settings across platforms: to apply the same rule everywhere, such as blocking USB storage, create matching policies for macOS and Windows, and assign them to the same device group.

  • Support compliance: combine Linux policies with Swif's compliance features, to support SOC 2, ISO 27001, and HIPAA.


Related resources

Did this answer your question?