FS#63534 - Authentication error in CUPS
Attached to Project:
Arch Linux
Opened by Nicolas Fella (nicofee) - Thursday, 22 August 2019, 22:40 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 07 November 2019, 21:21 GMT
Opened by Nicolas Fella (nicofee) - Thursday, 22 August 2019, 22:40 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 07 November 2019, 21:21 GMT
|
Details
Description:
When I click 'Add printer' in KDE's print-manager I get a 'Forbidden' error from CUPS. This can be solved by changing 'SystemGroup sys root' to 'SystemGroup sys root wheel' in /etc/cups/cups-files.conf The same behavior can also be reproduced with the cups web interface https://unix.stackexchange.com/questions/235477/cups-add-printer-page-returns-forbidden-on-web-interface suggests that Fedora applies this by default cups version 2.2.12-1 |
This task depends upon
Check your cupsd.conf(.default). Tune it to your needs and add your user to the allowed group or leave it up to the cups admin user:
# Restrict access to the server...
<Location />
Order allow,deny
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
# Restrict access to log files...
<Location /admin/log>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>