Search Text         
Search Tips?
Search By   And   Or   Boolean   Exact Match   TA #
Search In   Whole Doc   Keywords Sort By  
Product   Sub Product  

View Technical Articles (sorted by Product) New/Updated in the last:    7 days      14 days      30 days             
TA # Date Created Date Updated Resolved Issue?   Printer Friendly Version of This TA   Print Article
  E-mail This TA   E-mail Article
126211 11/25/2005 10:54 AM 06/07/2011 04:50 AM
Yes No
How can I remotely administer the CUPS server from a web browser on port 631
Keywords
CUPS Common UNIX Printing System SYSV web port 631 OpenServer osr OSr 6.0.0 600 5.0.7 507 MP4 cupsd.conf http UP3 uw uw7 uware uware7 714 7.1.4 unixware unixware7 webmin doc documentation documentation.html getting started troubleshooting
Release
          SCO UnixWare 7.1.4  
          SCO OpenServer Release 6.0.0  
          SCO Openserver System Release 5.0.7  
           
Problem
          I have installed OpenServer 6.0.0 and want to use CUPS as 
          a default printer subsystem. 

          I have edited the /etc/default/lpd file and changed the 
          line: 
           
          PRINT_SYSTEM=SYSV 
          to 
          PRINT_SYSTEM=CUPS 
           
          When I try to administer the CUPS server via remote web 
          access on port 631 : 

          http://<CUPS server IP address>:631 
           
          I get the following authorization error: 
           
          Forbidden 
          You don't have permission to access the resource on this 
          server. 

          or the web page cannot be found.
           
          What do I need to do to be able to administer the CUPS server via  
          web on port 631?

CAUSE:
          CUPS is configured by default to not allow any remote access via 
          port 631.


Solution
          This also applies to SCO OpenServer 5.0.7 with Update Pack 3 (UP3)
          or Maintenance Pack 4 (MP4) installed and UnixWare 7.1.4 (MP3).

          You can check CuPs is enabled by:

          # telnet localhost 631

          If the connection is refused then CuPs has not been started in
          /etc/init.d/cups.

          By default CuPs only permits access from the localhost.

          You need to edit the /etc/cups/cupsd.conf and update (remove) the 
          remote access restrictions. 

          Comment and update the following lines: 
           
     From: 
           
     # The default value is "IfRequested". 
     # 
           
     <Location /> 
     Order Deny,Allow 
     Deny From All 
     Allow From 127.0.0.1 
     </Location>  
         
     To: 
           
     # The default value is "IfRequested". 
     # 
           
     <Location /> 
     #Order Deny,Allow 
     #Deny From All 
     #Allow From 127.0.0.1 
     </Location>  
           
           
     Then from: 
           
     <Location /admin> 
     # 
     # You definitely will want to limit access to the administration 
     #  functions.
     # The default configuration requires a local connection from a user who 
     # is a member of the system group to do any admin tasks. You can change 
     # the group name using the SystemGroup directive. 
     # 
           
     AuthType Basic 
     AuthClass System 
           
     ## Restrict access to local domain 
     Order Deny,Allow 
     Deny From All 
     Allow From 127.0.0.1 
           
     to: 
           
     <Location /admin> 
          
     AuthType Basic 
     AuthClass System 
           
     ## Restrict access to local domain 
     #Order Deny,Allow 
     #Deny From All 
     #Allow From 127.0.0.1 
           
          
     Restart cups deamon (scheduler): 

     # /etc/init.d/cups restart 
           
     You now will be able to remotely admin the CUPS server via port 631.

NOTE:
      Documentation Restrictions:

      OpenServer 5.0.7 MP5 - 'cups' not in SCO's online documentation
                             localhost: man page corruption but
                             http://localhost:631/documentation.html working
                  
      OpenServer 6.0.0 MP2 - No Restrictions
             
      UnixWare 7.1.4   MP3 - 'cups' not in SCO's online documentation
                             localhost: man pages working
                             http://localhost:631/documentation.html missing

      Documentation is stored in /usr/share/doc/cups
    
SEE ALSO:
          

     For Getting Started with UnixWare7, see TA#126530

     For more information about getting started with CUPS:

       http://osr600doc.sco.com/en/Navpages/PRhome.html 
       http://osr600doc.sco.com/en/PR_admin/cups-start.html 
       http://osr600doc.sco.com/en/PR_cups/sum.html 
       http://osr600doc.sco.com/en/PR_cups/sam.html#ALLOW_REMOTE

     For OSR6 MP4 installations see TA#127623
Back to Search ResultsBack to Search Results