Skip to content

Instantly share code, notes, and snippets.

@soundsnw
Created June 11, 2019 12:33
Show Gist options
  • Save soundsnw/63e388344242fc8b9601c1e1c5fea0fc to your computer and use it in GitHub Desktop.
Save soundsnw/63e388344242fc8b9601c1e1c5fea0fc to your computer and use it in GitHub Desktop.
Give macOS standard users access to networking, printing and more
#!/bin/sh
#
# Provides standard user access to preference panels they would expect to be able to access, and might need access to.
#
# Provides standard users access to system preferences
/usr/bin/security authorizationdb write system.preferences allow
# Provides standard users access to network preferences
/usr/bin/security authorizationdb write system.preferences.network allow
/usr/bin/security authorizationdb write system.services.systemconfiguration.network allow
# Provides standard users access to printing preferences
/usr/bin/security authorizationdb write system.preferences.printing allow
/usr/bin/security authorizationdb write system.print.admin allow
/usr/sbin/dseditgroup -o edit -a staff -t group lpadmin
# Provides standard users access to energy saver
/usr/bin/security authorizationdb write system.preferences.energysaver allow
# Provides standard users access to Find My Mac
#/usr/bin/security authorizationdb write com.apple.AOSNotification.FindMyMac.modify allow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment