mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-03 20:43:39 +00:00
30 lines
511 B
Plaintext
30 lines
511 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, osx]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# fdesetup
|
|
|
|
> Set and retrieve FileVault related information.
|
|
> More information: <https://keith.github.io/xcode-man-pages/fdesetup.8.html>.
|
|
|
|
- List current FileVault enabled users:
|
|
|
|
`sudo fdesetup list`
|
|
|
|
- Get current FileVault status:
|
|
|
|
`fdesetup status`
|
|
|
|
- Add FileVault enabled user:
|
|
|
|
`sudo fdesetup add -usertoadd {{user1}}`
|
|
|
|
- Enable FileVault:
|
|
|
|
`sudo fdesetup enable`
|
|
|
|
- Disable FileVault:
|
|
|
|
`sudo fdesetup disable`
|