Installing and Administering LAN/9000 Software

58 Chapter3
Manually Installing and Configuring LAN/9000
Activating Optional Network Features
comment character (#).
port_num
/
protocol port_num
is the protocol port number assigned
to this service. All requests for this service must use
this port number.
protocol
is the protocol name, as
listed in /etc/protocols, that the service uses.
alias
Common name or names for the service. An alias is a
substitute for
service_name
. Alias names are optional.
/etc/services Format
Lines cannot start with a blank or tab character.
Fields can have any number of blanks or tab characters separating
them.
Comments are allowed and designated by a pound sign (#) character
preceding the comment text.
Trailing blank and tab characters are allowed.
Blank line entries are allowed.
Only one entry per line is allowed.
/etc/services Permissions
The /etc/services file should be owned by user bin, group bin, and it
should have 0444 (-r—r—r—) access permission.
Refer to the /etc/services file for examples of actual format and
contents. For more information on /etc/services, refer to the
services(4) man page in the Network Services Reference Pages.
/etc/services Example
The following /etc/services entry contains the service name, port
number, protocol name, and alias name for a service.
shell514/tcp cmd
Creating the /etc/networks File
The /etc/networks file associates network addresses with mnemonic
names and alias names. The /etc/networks file contains the name and
address of known internet networks with which your host can
communicate. The LAN/9000 diagnostic netstat and the route