[cups.general] Authentication GUI vs. CLI

Michael Sweet mike at easysw.com
Thu Jul 20 04:27:22 PDT 2006


Henk.Roose at cwi.nl wrote:
> Hey Guys,
> 
> I have a simple question:
> How can I enable authentication for say, removal of jobs via the
> web GUI for a bunch of selected users without bothering the rest
> with a username/password prompt everytime they try to lprm their
> own jobs?
> I have set up the appropriate stuff in cupsd.conf like Location /jobs
> AuthType and Class and so on but I can't find a way to force 'normal'
> behaviour on the command line.

If you use CUPS 1.2, the default behavior of the web interface will
be to authenticate, while command-line users will not need to.

For CUPS 1.1, you can use:

     <Location /jobs>
     <Limit GET>
     AuthType Basic
     Require valid user
     </Limit>
     </Location>

to achieve a similar effect.

-- 
______________________________________________________________________
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