[cups.development] lp does not ask for password

Michael R Sweet msweet at apple.com
Tue Aug 12 09:13:07 PDT 2008


Christoph Pleger wrote:
> Hello,
> 
> I installed cups both on an Ubuntu feisty and on an Ubuntu hardy machine. The first has CUPS Version 1.2.8, the second CUPS version 1.3.7. On both machines, in cupsd.conf, I limited print jobs to authenticated system users. The CUPS server is the local host.
> 
> My problem is that the command line tool lp behaves different on the machines. On the first, it asks for a password and only prints if the given password is correct. On the second, it prints without asking for a password.
> 
> First, I thought that my configuration on the second machine is incorrect. But then I tried the KDE tool kprinter, and kprinter requires the correct password.

CUPS 1.3.x supports "peer credentials" over domain sockets, so in
that case CUPS can authenticate local printing using your UID.

IIRC, KDE doesn't support domain sockets right now...

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups-devel mailing list