What’s the best way to do this. Apple pushed out the fix just now. How can I tell which of my Macs has installed it?
Page 3 / 3
This will check it for sure:
#!/bin/bash
openDV=$(what /usr/libexec/opendirectoryd)
isRUI=$(echo $openDV | grep -c 'opendirectoryd-483.1.5')
isRUIP1=$(echo $openDV | grep -c 'opendirectoryd-483.20.7')
if [[ $isRUI -gt 0 ]]; then
echo "Root security update IS installed"
elif [[ $isRUIP1 -gt 0 ]]; then
echo "Root update IS installed"
else
echo "Root update missing, please update immediately!"
fi
exit 0
Hope that helps.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.