Network Daemons  «Prev 

etc/inetd. conf Example

Seven elements described in etc/inetd.conf
examine some sample lines from /etc/inetd.conf
  1. The name of the service that this line controls. This must be mentioned in /etc/services.
  2. The socket type. The most common possibilities are stream or dgram. The stream type is used with tcp in the next field, the dgram type with UDP.
  3. Specifies whether this is a TCP or UDP service.
  4. Wait status. Wait means run this service as an iterative server (wait for one server to finish before starting another). Nowait means run it as a concurrent server (fork a server process, then go right back to listening on the port).
  5. The user ID that will own the server process started by inetd.
  6. The path name of the server process inetd will start.
  7. Arguments. Any arguments to the server process started by inetd.

/etc/inetd.conf file

The /etc/inetd.conf file is the default configuration file for the inetd (super-server) daemon. As shipped, this file describes all currently supported QNX Neutrino TCP/IP daemons and some nonstandard pidin services. Unless you want to add or remove daemon definitions, you don't need to modify this file. The file must have an entry in each of its fields, with each field separated by a tab or a space. Comments are denoted by a pound sign (#) at the beginning of a line.
The fields in the configuration file are:

[addr:]service-name | service-name/version
server program arguments