Skip to main content
Solved

10.9.x Open the Printer Preference Pane

  • January 21, 2014
  • 7 replies
  • 35 views

Forum|alt.badge.img+6

I would like to allow standard users to add new printers using the system preferences > Print and Scan preference pane. In 10.7 I was able to open up the pref pane using...
sudo dseditgroup -o edit -n /Local/Default -u ADMINNAME -P ADMINPASSWORD -a "Domain Users" -t group _lpadmin

This does not seem to work in 10.8 or 10.9. Is there an easier way of accomplishing this?
Thanks.

Best answer by ImAMacGuy

I use this: ```

!/bin/bash

/usr/sbin/dseditgroup -o edit -n /Local/Default -a everyone -t group _lpadmin
```

7 replies

ImAMacGuy
Forum|alt.badge.img+23
  • Esteemed Contributor
  • Answer
  • January 21, 2014

I use this: ```

!/bin/bash

/usr/sbin/dseditgroup -o edit -n /Local/Default -a everyone -t group _lpadmin
```


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • January 21, 2014

I use similar to @jwojda but for some reason have no _ before lpadmin.

http://macmule.com/2011/07/27/how-to-allow-all-users-to-add-or-remove-printers/


Forum|alt.badge.img+6
  • Author
  • Contributor
  • January 22, 2014

Thanks guys, very helpful.


Forum|alt.badge.img+11
  • Valued Contributor
  • January 24, 2014

How about Time Machine Preference Pane?


jconte
Forum|alt.badge.img+12
  • Valued Contributor
  • January 27, 2014

I accomplish this by editing /var/db/auth.db. it allows me to give users certain access but not all. I run a script per user at login. Works like a charm.

I use the built in Apple Security commands, but you can use AuthBuddy if yoyo find it easier.

http://www.dssw.co.uk/blog/category/authbuddy/


jconte
Forum|alt.badge.img+12
  • Valued Contributor
  • January 27, 2014

!/bin/bash

# This script will allow non-admins to change their network, install a printer and change the timezone

# Open up parent authorization so it does not supersede child authorization
security authorizationdb write system.preferences allow

#Open Printing Preference Pane
security authorizationdb write system.preferences.printing allow

#Open Date & Time Preference Pane
security authorizationdb write system.preferences.datetime allow

#Open up parent auth for network so it does not supersede child auth
security authorizationdb write system.services.systemconfiguration.network allow

#Open Network Preference Pane
security authorizationdb write system.preferences.network allow


Forum|alt.badge.img+6
  • Contributor
  • April 28, 2016
# Open up parent authorization so it does not supersede child authorization security authorizationdb write system.preferences allow # Open Printing Preference Pane security authorizationdb write system.preferences.printing allow

My script only includes those two lines, and it used to work for me, but not anymore.

It definitely does not work in OS X El Capitan 10.11, and maybe not in 10.10 Yosemite (but I'm not sure).

In any event, the command listed at the top does work!
dseditgroup -o edit -n /Local/Default -a everyone -t group _lpadmin