Frage

I need to modify the cupsd.conf file (removal of PAUSE-PRINTER/RESUME-PRINTER) on 50+ machines to allow non-admin accounts to resume the print queue.

Is there a way I can script this (through AppleScript or shell scripts) so a local admin could run this on each machine?

War es hilfreich?

Lösung 2

Instead of modifying the cupsd.conf I found another route that works by adding every user to the _lpoperator group to allow everyone to pause/resume the print queue:

sudo dseditgroup -o edit -t group -a everyone _lpoperator

Thanks to all

Andere Tipps

cupsenable - stop/start printers and classes

You should not need to use sudo to resume print queues. The CUPS command cupsenable can be run by a standard user.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit apple.stackexchange
scroll top