|
|
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.
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:
/usr/sbin/lpsystem -r +
/usr/sbin/lpsystem -r "*"
/usr/sbin/lpsystem -t type system-name