add a remote printer

Martin Pitt martin.pitt at canonical.com
Mon Oct 25 09:37:46 UTC 2004


Hi!

halibox at infinito.it [2004-10-25 11:03 +0200]:
> Hi all, I'm new to Ubuntu (I come from Mandrake).
> I'm trying to add a remote printer (via lpd) on my PC. 
> While the gnome utility freezes as I add the host and the 
> queue, 

Using the gnome utility is actually the preferred configuration
method. Can you please file a bug report to track this issue?

> the CUPS tools (http://localhost:631) are not 
> available because I have no rights. My user is into the 
> lpdadmin group, and I've also tried to launch the browser 
> as root (sudo) but still I cannot print.

Please do not run your web browser as root, this does not help at all
to authenticate to cups. As a temporary fixup, you can reenable the
administrative functions of the web interface by following the advice
in /usr/share/doc/cupsys/README.Debian.gz:

   Administration over the web interface is disabled by default since it
   requires the CUPS daemon to be able to read /etc/shadow.  If you want to
   enable web administration with shadow passwords (authentication type
   'basic'), put the user cupsys into group shadow by

       adduser cupsys shadow

   as root.

   Only users who are in group 'lpadmin' can administrate printers (using
   gnome-cups-manager, lpadmin or any other frontend but the web
   interface).  To allow printer administration to user joe, put him into
   this group by executing

       adduser joe lpadmin

   (again as root).

Basically, the "sudo adduser cupsys shadow" and restarting cups (sudo
/etc/init.d/cupsys restart) should be enough.

Good luck!

Martin

-- 
Martin Pitt                       http://www.piware.de
Ubuntu Developer            http://www.ubuntulinux.org
Debian GNU/Linux Developer       http://www.debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041025/442c3f31/attachment.sig>


More information about the ubuntu-users mailing list