Enable Local Admin Account for FileVault 2 Automated Process
I’ve often had the challenge of cat and mouse game for user interaction whilst building a machine, to be able to truly achieve an automated process. So one of my challenges is enabling disk encryption, great, managed to do that with a quick JSS policy!
Next issue how do I enable my Local Administrator account without myself or a technician having to type a password in to enable the Local Admin account for FileVault2?
Well searching high and low I came across the following article on JAMF Nation https://jamfnation.jamfsoftware.com/discussion.html?id=12143, intresting!
I’ve adapted the script which is available from my GitHub https://github.com/SachinParmar/Adding-LocalAdmin-FileVault2
Great now you’ve got your script into the JSS, we can align the positional parameter values to what we need, create your policy add your script and add the Script
Also I can confirm this works on the latest beta of macOS Sierra…Job Done!
Alternatively if you don’t have Casper Suite you can take the script and hard-code your credentials in but in no way am I recommending this as best practise!
Let me know how you get on.