[cups] Allowing anyone logged onto the server to print without a password
Jörg Thümmler
listen at vordruckleitverlag.de
Fri Aug 19 02:08:14 PDT 2022
Am 17.08.22 um 22:21 schrieb Johnnie W Adams:
> Hi,
>
> Adding the user to the lp group had no effect.
>
> ~]$ /usr/bin/lpr -Pbiol11 foo
>
> Password for **** on localhost?
>
>
>
> I can print but that user can't:
>
>
> ~]$ lpr -P biol11 foo
>
> ~]$ echo $?
>
> 0
>
>
> Thanks,
>
>
> John A
>
> On Wed, Aug 17, 2022 at 6:49 AM Jörg Thümmler <listen at vordruckleitverlag.de>
> wrote:
>
>> Am 10.08.22 um 14:40 schrieb Johnnie W Adams:
>>> Running from the command line only, using things like lpr.
>>>
>>> On Wed, Aug 10, 2022 at 2:06 AM Mark Dm <markosjal at gmail.com> wrote:
>>>
>>>> what clients?
>>>>
>>>> On Tue, Aug 9, 2022 at 10:10 AM Johnnie W Adams <jxadams at ualr.edu>
>> wrote:
>>>>
>>>>> Hi, folks,
>>>>>
>>>>> That's what I'd like to do. How would I do that?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> John A
>>>>>
>>>>> --
>>>>> John Adams
>>>>> Senior Linux/Middleware Administrator | Information Technology
>> Services
>>>>> +1-501-916-3010 | jxadams at ualr.edu | 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
>>>>> cups at cups.org
>>>>> https://lists.cups.org/mailman/listinfo/cups
>>>>>
>>>> _______________________________________________
>>>> cups mailing list
>>>> cups at cups.org
>>>> https://lists.cups.org/mailman/listinfo/cups
>>>>
>>>
>>>
>> Hi,
>>
>> usually that's the default setting after a fresh cups installation...?
>>
>> Try to ad your users to the "lp" user group.
>>
>> Do you get an error message trying
>>
>> lpr -P<yourprinter> <somefile>
>>
>> e.g. lpr -PBrother233 /etc/hosts
>>
>> ???
>>
>> Use the web interface at http://localhost:631 to see if there are jobs?
>>
>> --
>> cu
>>
>> jth
>> _______________________________________________
>> cups mailing list
>> cups at cups.org
>> https://lists.cups.org/mailman/listinfo/cups
>>
>
>
Hi,
asking for passwd seems to be a new "feature" of cups (i would call it a
bug)
You have to modify your printers.conf for this printer, there should be
lines beginning like
AuthenticationRequired
AllowUser
for this printer entry. Comment them out:
shut down cups #systemctl stop cups
edit the file /etc/cups/printers.conf comment the lines out
restart cups #systemctl start cups
...
there should be a more elegant and compatible way of doing this and i
believe there is a general switch in /etc/cups/cupsd.conf or somewhere
else to change the security level to prevent these entries, but i didn't
find it.
--
cu
jth
More information about the cups
mailing list