In attempting to automate setting up firmware passwords through DeployStudio, I accidentally wrote a bad script loosely based off Dash's post Setting a firmware password that did not work as intended.
#!/bin/sh diskutil mount Recovery\ HD & wait hdiutil attach -quiet -nobrowse /Volumes/Recovery\ HD/com.apple.recovery.boot/BaseSystem.dmg & wait OLDPASSWORD= "" CONFIRMPASSWORD= "password" /Volumes/OS\ X\ Base\ System/Applications/Utilities/Firmware\ Password\ Utility.app/Contents/Resources/setregproptool -m command -p $CONFIRMPASSWORD -o $OLDPASSWORD diskutil unmount force Recovery\ HD & wait echo "New Firmware Password is Set"
If you can tell already, when setting the variables for OLDPASSWORD and CONFIRMPASSWORD, I should not have added that extra space because I got "command not found" errors.
However, I ran the script through DeployStudio (Postponed execution not checked) and a password WAS set. I just don't know what it is. I tried "password" and empty password. Does anyone have an idea what it could be? The only this else I could do is send the macbook to Apple Repair.