Skip to content

Instantly share code, notes, and snippets.

@hillaryj
Last active March 26, 2019 14:23
Show Gist options
  • Save hillaryj/40e6d7d6e75cb36f48b66ab697dc0ce7 to your computer and use it in GitHub Desktop.
Save hillaryj/40e6d7d6e75cb36f48b66ab697dc0ce7 to your computer and use it in GitHub Desktop.
Mac fixes

Terminal commands to fix or change things without sudo on a managed machine.

System time change from terminal

Commands for changing the ribbon time display without system permissions

24 hour time

defaults write com.apple.menuextra.clock DateFormat "EEE MMM d  H:mm"
killall SystemUIServer

AM/PM

defaults write com.apple.menuextra.clock DateFormat "E MMM d h:mm a"
killall SystemUIServer

Allow unsigned apps to run

To allow for running an app from an "unidentified developer":

xattr -dr com.apple.quarantine "unidentified_thirdparty.app"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment