From Fedora Project Wiki

< Printing

Revision as of 09:13, 19 March 2010 by Twaugh (talk | contribs) (Moved design docs here from parent)

system-config-printer

This page has information about the printing configuration tool used in Fedora, system-config-printer. The tool is for configuring a CUPS server, and uses the Internet Printing Protocol (IPP) to do so. For local servers this is delegated to PolicyKit when available.

PolicyKit configuration

The printing configuration tool uses PolicyKit when configuring CUPS on the local machine. For normal IPP operations the policy determining who gets to modify what is defined in the CUPS configuration file /etc/cups/cupsd.conf. Configuring CUPS using PolicyKit (cups-pk-helper) is an extra mechanism with its own policy.

The default cups-pk-helper policy requires administrative authentication for most actions. Here is how you can customize that in two steps.

  • Add yourself to the desktop_admin group. With the new user account dialog this is done by clicking the padlock labelled Click to make changes, then changing the Account type to Administrator.
  • Create a pklocalauthority file called /var/lib/polkit/localauthority/50-local.d/10-printer-config.pkla with this content:
[Desktop Administrator Permissions]
Identity=unix-group:desktop_admin_r
Action=org.opensuse.cupspkhelper.mechanism.*
ResultAny=no
ResultInactive=no
ResultActive=yes

Original design discussion for system-config-printer