SUSE Support

Here When You Need Us

Access CUPS Web Administration tool from workstation

This document (3009311) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10
SUSE Linux Enterprise Server 9

Situation

From a SLES machine, you can open the browser to http://localhost:631 to administrate CUPS.   However, the default CUPS configuration will not allow this tool to be accessed from remote browsers.

Resolution

To make this available from a remote browser:

1.  vi /etc/cups/cupsd.conf
2.  The following bolded items must be changed within the /etc/cups/cupsd.conf:
Note:  The 3 below documented sections do not show consecutively in the cupsd.conf as they appear below.   Search the cupsd.conf to locate these sections.
 
<Location />
Order Deny,Allow
#Deny From All
Allow From 127.0.0.1
Allow From 127.0.0.2
Allow From @LOCAL
Allow From All
</Location>

BrowseAllow @LOCAL
BrowseAllow All
BrowseDeny All

## Restrict access to local domain
Order Deny,Allow
#Deny From All
Allow From 127.0.0.1
Allow From All

3.  Restart CUPS
/etc/init.d/cups restart

4.  From a workstation's browser, go to http://[ip_or_dns_of_SLES]:631

5.  You may be prompted to log in.  To successfully authenticate, the account must be added to the group lp.  This can be accomplished by issuing the following command:
lppasswd -a [Linux_user_account] -g sys

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3009311
  • Creation Date: 08-Jun-2006
  • Modified Date:19-Feb-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.