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.
Host-Name Field
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.
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. Item | Description |
---|---|
/etc/hosts.equiv | Specifies remote systems that can execute commands on the local system. |