Printers

dmeridith
New Contributor III

How do i give the regular users access rights to manage printers without needing to authenticate with a admin user I use this script

dseditgroup -o edit -n /Local/Default -u admin -p -a $USER -t user lpadmin

but it prompts for a password.

2 REPLIES 2

mm2270
Legendary Contributor III

Take out the -u admin -P section if its running as root, as in running from a policy. The reason you're getting prompted for a password is because you're telling the command to use your local admin account to authenticate instead of root, but since the local admin doesn't have root access, you need to enter a password to authorize the change.

AndyBeaver
Contributor II

I use a managed pref for 10.6.8 users, (com.apple.mcxprinting RequireAdminToAddPrinters boolean false) For 10.7+ clients you can do it with a config profile (Printing payload) within the JSS. They worked well for me. Hope this helps