We have students that need to create disk images from SD cards, but to do so requires admin privileges. In the past I have edited the authorization file and the authorization.plist (I know, I know), but this option isn't available any longer.
This is the right:
<dict>
<key>allow-root</key>
<false/>
<key>authenticate-user</key>
<true/>
<key>class</key>
<string>user</string>
<key>comment</key>
<string>See authopen(1) for information on the use of this right.</string>
<key>created</key>
<real>495051235.78586203</real>
<key>group</key>
<string>admin</string>
<key>modified</key>
<real>495051235.78586203</real>
<key>session-owner</key>
<false/>
<key>shared</key>
<false/>
<key>timeout</key>
<integer>300</integer>
<key>tries</key>
<integer>10000</integer>
<key>version</key>
<integer>0</integer>
</dict>
I am able to read out to a plist file and edit, but when I try to write back I receive:
admin’s-MacBook-Pro:~ admin$ sudo security authorizationdb write sys.openfile. < /tmp/sys.openfile.plist
NO (-60005)
Has anyone run into this or something similar?