Other 'less authorized' users

Kurt Pfeifle kpfeifle at danka.de
Wed Apr 19 06:05:53 PDT 2006


> I have tried everything I know to try to get the following to work in
> the /etc/cups/ cupsd.conf file:
>
> -----start snip
> <Location /printers/IMAP12?op=3Dstop-printer>
> Order Deny,Allow
> Deny From All
> Allow From @LOCAL
> Require user tstusr01
> </Location>
>
> <Location /printers/IMAP12?op=3Dstart-printer>
> Order Deny,Allow
> Deny From All
> Allow From @LOCAL
> Require user tstusr01
> </Location>
> -----end snip
>
> This should allow the user tstusr01 to start and stop this specific
> printer but all the system does is repeatedly ask for the password of
> tstusr01 as indicated below:
>
> -----start snip
> Disable IMAP12
> Password for tstusr01 on localhost?
> Password for tstusr01 on localhost?
> Password for tstusr01 on localhost?
> Password for tstusr01 on localhost?
> Password for tstusr01 on localhost?
> Password for tstusr01 on localhost?
> -----end snip
>
> As long as you type in the correct password you just get another
> duplicate line.  At the point in time when you do not input the correct
> password you get the following:
>
> -----start snip
> disable: Operation failed: client-error-not-authorized
> -----end snip=20
>
> At this point, I have exhausted all that I can find and know about this
> subject.

Your root may need to *set* the password for tstusr01 first,
using the "lppasswd -a tstusr01" command. Depends on your
"AuthType" settings. See "man lppasswd".

Cheers,
Kurt




More information about the cups mailing list