|
|
Installing and Administering Internet Services: HP 9000 Networking > Chapter 2 Installing and Configuring Internet
ServicesConfiguring the Internet Daemon, inetd |
|
The internet daemon, /usr/sbin/inetd, is the master server for many of the Internet Services. The inetd daemon listens for connection requests for the services listed in its configuration file and starts up the appropriate server when it receives a request. The inetd daemon is always started as part of the boot process, by the startup script /sbin/init.d/inetd. The /etc/inetd.conf file is the inetd configuration file, which lists the services that may be started by inetd. In addition to the configuration file, you can configure an optional security file called /var/adm/inetd.sec, which restricts access to the services started by inetd. This section gives instructions for completing the following tasks: If you want to write your own service and tie it in to inetd, see the Berkeley IPC Programmer's Guide.
For more information, type man 4 inetd.conf or man 1M inetd. The /var/adm/inetd.sec file is a security file that inetd reads to determine which remote hosts are allowed access to the services on your host. The inetd.sec file is optional; you do not need it to run the Internet Services. You can use either a text editor or SAM to edit the inetd.sec file. SAM (System Administration Manager) is Hewlett-Packard's windows-based user interface for performing system administration tasks. To run SAM, type sam at the HP-UX prompt. SAM has an extensive online help facility.
Following are some example lines from an inetd.sec file:
The first example allows access to rlogin from any IP address beginning with 10. The second example denies access to remsh and rcp from hosts vandal and hun. The third example denies everyone access to tftp. Only the services configured in /etc/inetd.conf can be configured in /var/adm/inetd.sec. For more information, type man 4 inetd.sec or man 1M inetd. |
|