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
|