Skip to content

Instantly share code, notes, and snippets.

@gjpalau
Created August 1, 2016 17:44
Show Gist options
  • Save gjpalau/4a0f4f5d9f679160899afb0ab8b8b49c to your computer and use it in GitHub Desktop.
Save gjpalau/4a0f4f5d9f679160899afb0ab8b8b49c to your computer and use it in GitHub Desktop.
script to allow "Everyone" to add or remove printers on Mac
#!/bin/sh
dseditgroup -o edit -a "everyone" -t group lpadmin
exit $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment