Forrest logo
back to the fdesetup tool

fdesetup:tldr:960d7

fdesetup: Enable FileVault.
$ sudo fdesetup enable
try on your machine

The command sudo fdesetup enable is used to enable FileVault disk encryption on a macOS system.

  • sudo stands for "Super User Do" and is used to execute a command with administrative privileges. It allows the user to run commands as a superuser or system administrator.
  • fdesetup is a command-line utility on macOS that manages FileVault, the full-disk encryption feature. It allows users to enable or disable FileVault, add or remove encryption users, and perform other actions related to disk encryption.
  • enable is an argument passed to fdesetup that instructs the utility to enable FileVault encryption.

When running the sudo fdesetup enable command, the user will be prompted to enter their administrator password. Once the password is entered, FileVault disk encryption will be enabled, and the system will start encrypting the entire startup disk. This ensures that user data is protected and inaccessible to unauthorized individuals.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the fdesetup tool