Sunday, December 12, 2004

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...

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).