[SOLVED] How to permit "normal" user to add printer
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Ubuntu workstation in the office for use by normal (non-technical) users and therefore their userID(s) do not have sudo privilege.
However, I do want to let these users add printers. When they try, the "Add" button is grayed-out, presumably waiting for the "Unlock" button to be clicked. When clicked, they get the message"Privileges are requred to change printer settings." How can I remove this restriction for printer settings? Seems rather silly to not let users configure their own printers -- what is this, Windows!?
I don't have that in my cupsd.conf. Mine has @SYSTEM used all over, e.g.:
Code:
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Dev$
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
Ant idea where that is defined? I tried changing all instances of "@SYSTEM" to "users @SYSTEM", but no luck.
The app 'Unlock' button says "Dialog is locked. Click to make changes". After clicking, the entire error message is "Privileges are required to change printer settings. This should only be needed from the Printers system settings panel." So, I think I'm in initially getting this error at the Desktop (Cinnamon).
On this particular distribution, the SystemGroup setting is in /etc/cups/cups-files.conf. It has:
SystemGroup lpadmin
I added a particular user to that group and he was then able to add printers. However, it appears that's my only choice. I tried adding additional group to this setting (different tests):
... and restarting the cups service, but these didn't work. Using 'users' did nothing to enable users in the 'users' group. Using 10000 gave me an error, "Printing service not available ..."
So, unless someone has another suggestion, I suppose my only option is to add users to the lpadmin group.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.