Skip to content

Instantly share code, notes, and snippets.

@tenomoto
Created December 12, 2017 05:03
Show Gist options
  • Save tenomoto/0d5d7a01fad860370d337a617b518ca8 to your computer and use it in GitHub Desktop.
Save tenomoto/0d5d7a01fad860370d337a617b518ca8 to your computer and use it in GitHub Desktop.
Examine if Mac mounts disks without user login
defaults read /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin
@tenomoto
Copy link
Author

To set Mac to mount disks without user login
sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool true

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