LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CUPS with password (https://www.linuxquestions.org/questions/linux-software-2/cups-with-password-575569/)

firsara 08-08-2007 03:53 AM

CUPS with password
 
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 ?

stress_junkie 08-09-2007 04:04 PM

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.

Tinkster 08-09-2007 07:30 PM

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.



Cheers,
Tink

firsara 08-27-2007 07:46 AM

DefaultAuthType Basic
 
I have the "DefaultAuthType Basic" option in the cupsd.conf, but with this cups don't ask me for a password.


All times are GMT -5. The time now is 04:56 AM.