Child pages
  • Cups: allow web based administration of printers by a non-root user

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The policy chosen by Blue Light is to create a specific user in the system for that task: printadmin.

This documentation follows https://jira.bluelightav.org/browse/BLUE-2257 , and there's a request for automating the task: https://redmine.bluelightav.org/issues/2340 .

Requirements

The printer administrators need to have network access to the server (in Blue Light: using OpenVPN).

...

Set the password as set in BLKPDB.

Add it in the group:

Code Block
adduser printadmin lpadmin

Configuration of Cups

Allow cups http interface from other computers

...

Remove all lines matching Allow @LOCAL in other <Location> sections of that file, if any.

Make sure that the server is accessible from anywhere. Eventually (Jessie?), replace Listen localhost:631 by:

Code Block
Listen *:631

Connection

Point a web browser to: https://server.name:631

The default settings allow viewing the printers and queues, but not any modification.

The cups web sites prompts for user name  (printadmin) and password when required.

Administration of printers

...