I am trying to set a master password from the terminal (using a shell script). I see the passwd function and the master.passwd function, however I don't see any documentation on either of these to set the master password (AFAIK, these set the user passwords only).
I am pulling my information from these sources:
http://support.apple.com/kb/ph7032 What does this command do: sudo dscl . passwd /Users/administrator thePassword https://developer.apple.com/library/mac/documentation/darwin/reference/manpages/man5/master.passwd.5.html
My question is:
Can you use the passwd or master.passwd commands to set the master password? If so, can you please provide an example for how to accomplish this?