1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00
iiab/roles/cups
2021-07-13 19:29:36 -04:00
..
defaults Update main.yml 2019-03-05 14:00:21 -05:00
tasks http://box/print CUPS administration (redirects to https) 2021-07-13 18:29:03 -04:00
templates http://box/print CUPS administration (redirects to https) 2021-07-13 18:29:03 -04:00
README.md Update roles/cups/README.md 2021-07-13 19:29:36 -04:00

CUPS Printing README

Web Administration

Please administer CUPS at http://box/print using:

  • Username: Admin
  • Password: changeme

Or use any Linux user that is a member of the Linux group: lpadmin

Security

The above uses 'SystemGroup lpadmin' in /etc/cups/cups-files.conf — in coordination with about 15 '@SYSTEM' lines and 'DefaultAuthType Basic' in /etc/cups/cupsd.conf

CUPS creates a 10-year (unsigned) https certificate during installation, that will be very confusing to non-technical users when they log in, as a result of modern browser warnings.

How it Works

http://localhost:631 can be useful if NGINX redirects or CUPS permissions are set wrong.

Beware that http://box:631 and http://box.lan:631 will not work, due to a known issue with CUPS since 2009.

Understand how IIAB configures CUPS for all IP addresses and all hostnames (despite the above CUPS problem!) by reading these in-line explanations:

Modify these 2 files at your own risk:

If you make modifications to the above files, don't forget to restart systemd services:

systemctl restart cups cups-browsed nginx

Docs and Updates