Specifies remote hosts that can print on the local host.
The /etc/hosts.lpd file defines which remote systems are permitted to print on the local system. The remote systems listed in this file do not have the full privileges given to files listed in the /etc/hosts.equiv file.
The hosts.lpd file supports the following host-name entries:
+ HostName -HostName +@NetGroup -@NetGroup
A + (plus sign) signifies that any host on the network can print using the local host. The HostName entry is the name of a remote host and signifies that HostName can print, using the local host. A -HostName entry signifies the host is not allowed to print using the local host. A +@NetGroup or -@NetGroup entry signifies all hosts in the netgroup or no hosts in the netgroup, respectively, are allowed to print using the local host.
The @NetGroup parameter is used by Network Information Service (NIS) for grouping. Refer to the NIS netgroup file for more information on netgroups.
Entries in this file can be made using the System Management Interface Tool (SMIT) or the ruser command.
Note: Comments must be entered on separate lines in the hosts.lpd file. Comments should not be entered on lines containing host names.
To implement hosts.lpd file changes without restarting the system, use the System Resource Controller (SRC) refresh command.
hamlet lear prospero setebos
These entries in the local host's /etc/hosts.lpd file allow hosts hamlet, lear, prospero, and setebos to print files, using the local host.
-hamlet
This entry in the local host's /etc/hosts.lpd file prevents host hamlet from printing files, using the local host.
+@century
This entry in the local host's /etc/hosts.lpd file allows all hosts in the century netgroup to print files, using the local host. The @ (at sign) signifies the network is using NIS grouping.
This file is part of TCP/IP in Network Support Facilities in Base Operating System (BOS) Runtime.
/etc/hosts.equiv | Specifies remote systems that can execute commands on the local system. |
The netgroup file for NIS.
The hosts.equiv file format for TCP/IP.
The lpd command, ruser command.
Managing and Using Remote Printers and Queues and Remote Printing Overview in AIX 5L Version 5.1 Guide to Printers and Printing.