Created
April 8, 2019 20:28
-
-
Save rtrouton/ca3712e9ab4d0fc61f7d1f7bc10268c2 to your computer and use it in GitHub Desktop.
One-liner to ID the GUID of the FileVault-enabled account used to unlock the encryption on an encrypted Apple File System drive.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo $(ioreg -l -w0 -p IODeviceTree | grep efilogin-unlock-ident) | grep -Eo "[A-F0-9]{8}-[A-F0-9]{4}-4[A-F0-9]{3}-[89AB][A-F0-9]{3}-[A-F0-9]{12}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment