Today's Stupid Trick (on Ubuntu)

On Ubuntu Linux, the CUPs administrator comes with administration capabilities disabled. This issue should not be a problem, by using GNOME CUPS manager. However, this tool does not permit to specify a symbolic name of printer during creation. And for CUPS, symbolic names can not be changed later.

So, the problem is when creating a printer, system assigns automatically a name based on printer model. For example, if your printer is a kind of Apple LaserWriter, name of printer could be "LaserWriter-IInt".

When your organisation has several printers, you cannot refer them with their symbolic name ("Pete") or location ("second floor", "Pete's Room") instead of printer model. So, you must remember models of all printers of your interest...

This issue justifies a bug on Ubuntu, however this bug has been marked as "upstream" and transferred to Gnome maintainers. So, we cannot expect a fix on your favourite distro soon...

Ok, let's see the "Today's Stupid Trick": you only need to enable administration tasks on CUPS administrator. First, add cupsys user to shadow group: type as root «adduser cupsys shadow».

Then, remove and create again all your printers, but now using the admin page. Put on your printers the name you wish. Finally, remove cupsys from shadow access group by typing as root «deluser cupsys shadow».

Other admin tasks can be done without limitations using GNOME CUPS manager, so you don't need to maintain cupsys access to group shadow (which may be a security hole).

Discusión