Created
March 22, 2014 22:11
-
-
Save rtrouton/9715231 to your computer and use it in GitHub Desktop.
Expect script which automates running the fdesetup disable process. Script has been tested on both 10.8.5 and 10.9.2.
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
#!/usr/bin/expect | |
log_user 0 | |
set password s3kr1tp4ssw0rd_or_recovery_key | |
spawn fdesetup disable | |
expect ": " | |
send "$password\n" | |
expect EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment