Re: [cups] lpr requiring a password from the command line

Johnnie W Adams <[email protected]>
Newsgroups gmane.comp.printing.cups.general
Message-ID <CAGfWJCMTAJ=C1kahsFg5WWUHkGuViw1+QcHvDPHncgVR6LULfg@mail.gmail.com>
And suddenly I see it! For some reason, it looks like CUPS is resolving
localhost to IPv6. What on earth is causing this? I've added an *Allow* From
::1 everywhere I've got an *Allow* From 127.0.0.1 and that hasn't helped.

On Mon, Nov 15, 2021 at 6:38 AM Johnnie W Adams <[email protected]> wrote:

> I remain puzzled by this. Here's an excerpt of what appears in the logs
> when I try to make a non-root user print on this machine and no other:
>
> D [15/Nov/2021:06:36:44 -0600] cupsdSetBusyState: newbusy="Active
> clients", busy="Not busy"
>
> D [15/Nov/2021:06:36:44 -0600] [Client 2] Server address is "[v1.::1]".
>
> D [15/Nov/2021:06:36:44 -0600] [Client 2] Accepted from localhost:49982
> (IPv6)
>
> D [15/Nov/2021:06:36:44 -0600] [Client 2] Waiting for request.
>
> D [15/Nov/2021:06:36:44 -0600] [Client 2] POST / HTTP/1.1
>
> D [15/Nov/2021:06:36:44 -0600] cupsdSetBusyState: newbusy="Active
> clients", busy="Active clients"
>
> D [15/Nov/2021:06:36:44 -0600] [Client 2] Read: status=200, state=6
>
> D [15/Nov/2021:06:36:44 -0600] [Client 2] No authentication data provided.
>
> D [15/Nov/2021:06:36:44 -0600] cupsdIsAuthorized: username=""
>
> D [15/Nov/2021:06:36:44 -0600] [Client 2] cupsdSendHeader: code=401,
> type="text/html", auth_type=0
>
> D [15/Nov/2021:06:36:44 -0600] [Client 2] WWW-Authenticate: Basic
> realm=\"CUPS\", trc=\"y\"
>
> Password for pms1 on localhost?  D [15/Nov/2021:06:36:44 -0600] [Client
> 2] Closing connection.
>
> On Fri, Nov 5, 2021 at 9:45 AM Johnnie W Adams <[email protected]> wrote:
>
>> This still puzzles me. Why would a user able to print from CUPS be unable
>> to print via lpr? I don't get it.
>>
>> On Fri, Sep 17, 2021 at 2:45 PM Johnnie W Adams <[email protected]> wrote:
>>
>>> Hi, folks,
>>>
>>>      I naïvely copied my cupsd.conf and cups-files.conf files from a
>>> 1.6.3 machine to a 2.2.6 machine and everything looked fine at first.
>>>
>>>      Now users are asked for passwords when using lpr on the command
>>> line. What have I done?
>>>
>>> Thanks,
>>>
>>>      John A
>>>
>>> --
>>> John Adams
>>> Linux/Middleware Administrator  | Information Technology Services
>>> +1-501-916-3010 | [email protected] | http://ualr.edu/itservices
>>> *UA Little Rock*
>>>
>>> Reminder:  IT Services will never ask for your password over the phone
>>> or in an email. Always be suspicious of requests for personal information
>>> that come via email, even from known contacts.  For more information or to
>>> report suspicious email, visit IT Security
>>> <http://ualr.edu/itservices/security/>.
>>>
>>
>>
>> --
>> John Adams
>> Linux/Middleware Administrator  | Information Technology Services
>> +1-501-916-3010 | [email protected] | http://ualr.edu/itservices
>> *UA Little Rock*
>>
>> Reminder:  IT Services will never ask for your password over the phone or
>> in an email. Always be suspicious of requests for personal information that
>> come via email, even from known contacts.  For more information or to
>> report suspicious email, visit IT Security
>> <http://ualr.edu/itservices/security/>.
>>
>
>
> --
> John Adams
> Linux/Middleware Administrator  | Information Technology Services
> +1-501-916-3010 | [email protected] | http://ualr.edu/itservices
> *UA Little Rock*
>
> Reminder:  IT Services will never ask for your password over the phone or
> in an email. Always be suspicious of requests for personal information that
> come via email, even from known contacts.  For more information or to
> report suspicious email, visit IT Security
> <http://ualr.edu/itservices/security/>.
>


-- 
John Adams
Senior Linux/Middleware Administrator  | Information Technology Services
+1-501-916-3010 | [email protected] | http://ualr.edu/itservices
*UA Little Rock*

Reminder:  IT Services will never ask for your password over the phone or
in an email. Always be suspicious of requests for personal information that
come via email, even from known contacts.  For more information or to
report suspicious email, visit IT Security
<http://ualr.edu/itservices/security/>.
_______________________________________________
cups mailing list
[email protected]
https://lists.cups.org/mailman/listinfo/cups
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.