Posted on 02-21-2018 10:29 AM
Hey!
I work in a school district where we have given teachers MacBooks. We have restricted the teachers from adding printers because we would really like to cut down on the insane amount of printing that they were doing. Before we had done this, a lot of the teachers had brought their own personal computers and added our IP base network printers. So we were thinking that they would do the same with their new district issued MacBooks and blocked the addition of printers behind admin credentials.
We have given them the option to all print to the district's Xerox machines and that's it. However, a lot of these users would like to add their own personal printers. I was wondering if there was a way to allow the users to add their own personal home printers while still restricting them from adding a IP based network printer?
I've seen some scripts that would add the user to a specific group that would allow them to add printers, but I am nervous that this would allow them to start adding printers here within the district?
Any help would be appreciated!
Thanks!
Posted on 02-21-2018 10:38 AM
Adding the users to the lpadmin group should do the trick.
Posted on 02-21-2018 11:35 AM
I was reading about the lpadmin group, but could use some clarification.
This would allow them to add a printer from home but not allow them to enter ip addresses for network printers? Is there more to it than that?
Also, I appreciate the response!
Thanks!
Posted on 02-21-2018 01:51 PM
Posted on 02-21-2018 05:23 PM
I'm not sure you can limit the user to adding printers without IP. Most home/personal use printers are Wi-Fi based and the easiest way to set those up is via IP.
On another note, this is what we use in house...
#!/bin/bash
# Allow staff to add printers and manage print queue without administrative rights
/usr/sbin/dseditgroup -o edit -a everyone -t group lpadmin
exit 0
Posted on 04-14-2022 02:36 PM
This worked great for me, Thanks
Posted on 02-22-2018 02:56 AM
We use -
#!/bin/bash
# Workaround as shown in https://www.jamf.com/jamf-nation/discussions/19050/add-wifi-networks-without-admin-privileges
# Allows non-admin users to add printers and manage their WiFi configuration.
#For WiFi
/usr/bin/security authorizationdb write system.preferences.network allow
/usr/bin/security authorizationdb write system.services.systemconfiguration.network allow
#For printing
/usr/bin/security authorizationdb write system.preferences.printing allow
/usr/bin/security authorizationdb write system.print.operator allow
/usr/sbin/dseditgroup -o edit -n /Local/Default -a everyone -t group lpadmin
/usr/sbin/dseditgroup -o edit -n /Local/Default -a everyone -t group _lpadmin
exit 0;
Posted on 04-14-2022 12:54 PM
Perfect solution, Thanks @dsavageED !
Posted on 03-22-2023 02:25 PM
All the suggestions don't work on Ventura, and probably Monterey and Big Sur.
I'm running MacOS Ventura and Jamf 10.45.1, and there is a solution.
In Jamf Configuration Policies, under Printing, click Allow user to modify printer list, AND Allow printers that connect directly to the user's computer.
After checking those two boxes and making sure the affected computers have picked up the new profiles, the standard and mobile users are now able to add printers.
Posted on 04-03-2024 07:29 AM
Is there any other solution for macOS Sonoma version 14.4 and higher?
Since version 14.4. our users get the admin prompt again...
We use the same profile settings, @boblauterbach provided.
Posted on 04-03-2024 01:22 PM
Has anyone been able to get this to work on Sonoma 14.4 and higher. We are being asked for admin rights..
Posted on 05-13-2024 01:49 PM
I tested the script and the profile posted above by @dsavageED and @boblauterbach
and neither option works on my Sonoma 14.4 test Macs.
Posted on 05-15-2024 10:23 AM
This microsoft guide might work, havent tried yet...
https://learn.microsoft.com/en-us/universal-print/macos/universal-print-macos-guide-remove-admin-req...
By default, installing printers on macOS requires users to be administrators. This default is controlled by the policy settings in /etc/cups/cupsd.conf and can be changed.
Posted on 05-15-2024 12:21 PM
Yep- the Jamf Configuration Profile worked for us on Sonoma... Create a new Config Profile and edit the printing option...
Posted on 05-15-2024 12:20 PM
The Jamf Configuration Profile worked for us on Sonoma...
Posted on 05-15-2024 05:50 AM
One note- it's a Configuration Profile- not a Policy. But it >is< in there- thanks!!
Posted on 05-15-2024 12:22 PM
Oh, and it worked for us on Sonoma.
Posted on 05-15-2024 12:32 PM
I have this setup on my system as a configuration profile, however it is still asking for administrators name to allow adding a printer
Posted on 05-15-2024 12:55 PM
Weird- you sure it is scoped to your test device? I had the same issue to solve today and it's working on two machines. If you can't get it to work, I'd open a support ticket with JAMF
Posted on 06-17-2024 02:06 AM
Good Day
I like to try this config on our macbooks: Allow non-administrator users to install printers on macOS | Microsoft Learn
but when you are talking about config profile. Which config profile should it be. When i am trying to paste this config file from microsoft in jamf pro Application & Custom Settings - Upload it seems not to work. Its not a plist. So maybe a dumb question, but how to replace the cupsd.conf on the local system with jamf pro and a configuration profile?
Posted on 06-24-2024 11:46 PM
Read to fast the article here the last time.
Have tried now the CP from Jamf and its working flawless and M1/M2/M3 MacBooks on Sonoma 14.5
06-25-2024 02:28 AM - edited 06-25-2024 02:29 AM
Tuesday
Tried Configuration Profile method, but it doesn't work...