Printing as another user

Michael Sweet mike at easysw.com
Wed Mar 8 04:24:39 PST 2006


Michael De Vlaminck wrote:
> Hello,
> 
> Is there a way to disable the -U option from /usr/bin/lpr?
> Because I'm setting up a printing system using CUPS. We also need an accountingsystem (we have pykota fot that) but the problem is that we can't trust the username that pykota recieves because of the -U option from lpr.

You can enable authentication (so that users need to provide a
password), or edit the source code to remove the -U option.  However,
the latter change will not prevent users from writing a CUPS-based
program that submits a job with an alternate username.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list