[Pkg-cups-devel] Bug#367479: cupsys: CUPS 1.2 experimental package does not permit administration

Henrique de Moraes Holschuh hmh at debian.org
Tue May 16 11:42:54 UTC 2006


On Tue, 16 May 2006, Roger Leigh wrote:
> It's not clear why it's not authorised.  User "rleigh" is in the
> "lpadmin" group, and root is root.  The cupsd.conf hasn't been touched
> since installation.

We should just define (and implement) right away in all printing packages
that lpadmin members are to be considered administrators.

> The "Unable to open USB device "usb:/dev/usb/lp1": Success" error is
> also rather strange.  The device exists, and the printer is switched
> on...

This message is caused by sloppy coding. Someone is not verifying the return
result of some libc function properly, and using errno when no error was
generated.  Please strace or ltrace the binary causing this, and file a bug
report...

> BTW, one other consideration is that the web interface (at least for the
> 1.1.x versions) requires logging on as root by default.  Since it's
> common to disable the root password and use sudo only (for security), it
> would be nice if the packaging could cater for this in some way, e.g.
> asking which user you wish to use as the printing administrator, and
> adding them to the lpadmin group (or at least documenting this clearly),
> if using the lpadmin group is the correct way to do things.

Using the lpadmin group is the correct way to do things by default, yes.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh




More information about the Pkg-cups-devel mailing list