Advanced printer configuration

Administering the /etc/lp/Systems file

Two default wildcard entries are supplied with the /etc/lp/Systems file that allows connections to any s5 and bsd systems. These entries are as follows:

   +:x:-:s5:-:n:10:-:-:Allow all System V connections
   *:x:-:bsd:-:n:10:-:-:Allow all BSD connections

The presence of these entries allows a print server to accept connections from systems that are not explicitly configured as known systems.

Entries specifying the remote system name can still be added to the file using the lpsystem command. However, if a given remote system is not specified, the default entry of the same type (either s5 or bsd) is used.

Access to a printer can be controlled from the printer's users.allow and users.deny files. See ``Controlling access to printers'' more information.

NOTE: The wildcard entries are only used for incoming connection requests and not for outgoing requests. These entries are commented out when the High security profile is used.

If you do not want to separately control access to each printer on your system but you want the /etc/lp/Systems file to specify which remote systems have access to your printers, you need to remove the wildcard entries from the file and add entries for the remote systems. To do this, perform the following:

  1. To remove the wildcard entry for s5 systems, use:
       /usr/sbin/lpsystem -r +

  2. To remove the wildcard entry for bsd systems, use:
       /usr/sbin/lpsystem -r "*"

  3. To add the entry for a specific remote system, use:
       /usr/sbin/lpsystem -t type system-name

Next topic: Printer models file
Previous topic: Configuring banners

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004