Category: OSX
Setting the default boot drive from the boot menu
When you start up a Mac holding down the Option key, the boot volume menu appears and displays all available bootable volumes. When you select a drive by clicking on it or selecting it with the arrow keys on your keyboard, it’ll boot from that drive until the next reboot. At the next reboot, unless you hold…
Send softwareupdate command through ARD
This script will run software updates only on machines that are logged out. This ensures you don’t reboot machines that are in use and don’t leave machines in an inconsistent state (by not rebooting after patching). This is not a perfect solution to patching but it’s better than nothing. You can even schedule this to…
OSX – Force Time Sync
Occasionally you might find that you need to force a time sync with your ntp server. To do this open a terminal window and enter the following. sudo ntpdate -u <IPADDRESSOFNTPSERVER>
Restart Apple Remote Desktop Service
If for any reason you cannot VNC onto your mac server due to the Apple Remote Desktop service, you can kickstart it by opening a SSH session running the following command sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users [USERNAME] -privs -all -restart -agent Replace [USERNAME] with your short username.