Azimout's Linux weblog

cups web interface

leave a comment »

CUPS (Common Unix Printing System) was released by Apple in 1999 and is used by practically all Linux distros. In addition to using system-config-printer you can administer your print system from its web interface, accessible on port 631. Just type http://localhost:631/ in your browser. You can view the status of your print server without authenticating yourself.

If instead you want to administer the print server (add/remove printers, cancel print jobs, etc), you need to login. Normally you’d use the root account and the corresponding password. However, the root account is locked in Ubuntu.

In theory, it’s enough to add your user account to the lpadmin group. If that’s not enough, add yourself also to the shadow group (sudo usermod -aG shadow username), and then sudo lppasswd -a username. Finally, modify /etc/cups/cupsd.conf, changing the DefaultAuthType to BasicDigest.

If you want to allow also other machines in your subnet to be able to control the cups server, modify /etc/cups/cupsd.conf and replace Listen localhost:631 with Port 631 and add Allow @LOCAL under <Location />



Written by azimout

09/07/2010 at 16:41

Posted in Reference

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: