We've been testing using Casper to turn on FileVault2 for our laptop users or desktops where there may be sensitive data. Things are going well on that front. But once a computer has had FV enabled....what are the options to turn it "off"? Looking at @rtrouton site I can see there is a fdesetup disable command that can be run. But it asks for a password or recovery key before it proceeds, even if it's run as a policy via root.
So my thought is to have a script that runs the fdesetup disable command. But not being script savvy I'm not sure how to handle passing the password. I thought I'd use the $4 variable so I don't have a password in the script for the entire JSS to see but use the variable so it's at least secure within my own site.
Thanks for any suggestions on how to script this or what you may be doing in your environment.
