配置 inetd 守护程序

使用以下步骤可配置 TCP/IP inetd 守护程序。

要配置 inetd 守护程序:

  1. 指定将通过添加 inetd 守护程序来调用它的子服务器。
  2. 通过更改 inetd 守护程序的重新启动特征来指定重新启动特征。
表 1. 配置 inetd 守护程序任务
任务 SMIT 快速路径 命令或文件
启动 inetd 守护程序 smit mkinetd startsrc -s inetd
更改 inetd 守护程序的“重新启动特征” smit chinetdsmit lsinetd  
停止 inetd 守护程序 smit rminetd stopsrc -s inetd
列出所有 inetd 子服务程序 smit inetdconf  
添加一个 inetd 子服务程序1 smit mkinetdconf 编辑 /etc/inetd.conf ,然后运行 refresh -s inetdkill -1 inetdPID2
更改/显示 inetd 子服务程序特征 smit inetdconf 编辑 /etc/inetd.conf ,然后运行 refresh -s inetdkill -1 inetdPID2
除去 inetd 子服务程序 smit rminetd 编辑 /etc/inetd.conf ,然后运行 refresh -s inetdkill -1 inetdPID2
注意:
  1. 添加一个 inetd 子服务程序将配置 inetd 守护程序来使它在需要子服务程序时调用它。
  2. refreshkill 命令都将其配置文件的更改通知 inetd 守护程序。