Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 would like to configure CUPS in a way, that when I print from a "normal" user of the same computer I have to authentificate with password in order to print.
Can somebody help me to configure this ?
You might be able to do something with PAM. I'm not sure.
If, however, you are trying to restrict the use of printers to certain user accounts then you can do this within the CUPS administration GUI. You can use a web browser on the computer with the printer and put in the address localhost:631. Click on "Manage Printers", then click on a specific printer. You will see at the bottom a link labeled "Set Allowed Users". You can either put in user accounts that are allowed to use the printer or you can put in user accounts that are denied access to the printer.
Or, if you don't trust web-based tools with your config files:
Manually edit the printer section of cupsd.conf, add basic
authentication ... read the VERY helpful comments in the file
(if your distro maintainer hasn't decided to remove them stupidly,
like on Ubuntu, for instance) .... it's quite easy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.