Another recent discovery was that Apple have changed the traditional Apple Hardware Test for a more modern Apple Diagnostics program
Heres a little checklist for you to check that all your hardware is fully functional
If your Mac was released after June 2013, then you will need to run Apple Diagnostics
This is done by holding down D as you power on the machine
If your Mac was released before June 2013 and is running 10.7 or newer, then you will access a more traditional Apple Hardware Test
again, this is accessed by holding down D as you power on the machine
If your Mac is older, and won’t run 10.7 or above, then buy a new one 🙂
alternatively, Apple Hardware Test should be available on one of the original Mac OS installation disks
you’ve guessed it, insert the disk into the Mac, restart the machine and hold down D to access the Apple Hardware Test
If you’ve run the tests and you’ve got an error, then check out the following page for what the error code relates to
To enable Remote Management from the command line, enter the following into Terminal
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -users ARDADMIN -access -on -restart -agent -privs -all -allowAccessFor -specifiedUsers -computerinfo -set1 -1 "INFO1" -set2 -2 "INFO2" -set3 -3 "INFO3" -set4 -4 "INFO4"
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart --configure -access -on -privs -all -users ARDADMIN
You will need to switch ARDADMIN for the account you wish to give ARD access to.
INFO1, INFO2, INFO3, INFO4 refer to the fields located in System Preferences, Sharing, Remote Management, Computer Settings
To enable SSH for one specific user, enter the following into Terminal
sudo systemsetup -setremotelogin on
sudo dseditgroup -o create -a USER -t user -u USER -q com.apple.access_ssh
You will need to change USER for the shortname of the user you wish to grant SSH access to.