Changes the contents of the /etc/inetd.conf file or similar system configuration file.
chsubserver [ -a ] -v ServiceName -p protocol [-t socket_type ][-w WaitIndicator ] [-u user ] [-g program ] [ -r server ] [-C ConfigFile ] [ program ] [ args ]
chsubserver -c -v ServiceName -p protocol [-t SocketType ] [-w WaitIndicator ] [-u user ] [-g program ] [-V NewServiceName ] [-P NewProtocol ] [-T NewSocketType ] [-W NewWaitIndicator ] [-U NewUser ] [-G NewProgram ] [ -r server ] [-C ConfigFile ] [ program ] [ args ]
chsubserver -d -v ServiceName -p protocol [-t SocketType ] [-w WaitIndicator ] [-u user ] [-g program ] [ -r server ] [-C ConfigFile ] [ program ] [ args ]
The chsubserver command adds, deletes, or changes entries in the /etc/inetd.conf system configuration file, which is the default, or a similar configuration file. These entries are related to known services used in the DARPA Internet and also related to information used by the inetd server. The entries for the inetd server determine how the system handles Internet service requests.
The chsubserver command also allows the user to refresh a server using the -r flag. The server specified is sent a SIGHUP signal to reread its configuration file. This allows you to edit the configuration file and have the changes take effect immediately.
Each service entry contains information about known services and information used by the inetd server. The chsubserver command manipulates the following entries for known services and for inetd server or other subserver information:
You can use the Web-based System Manager System application (wsm system fast path) run this command. You could also use the System Management Interface Tool (SMIT) smit inetdconf fast path to run this command.
Access Control: Only the root user and members of the system group have access to this command.
chsubserver -a -v uucp -p tcp
chsubserver -a -r inetd -v gregserv -p udp -t stream -w nowait -u root -g /usr/sbin/gregserv ftpdThe inetd does not wait for confirmation. After adding the line to the file, the inetd program will be sent a SIGHUP signal.
chsubserver -c -v gregserv -p udp -t stream -T dgram -C /tmp/inetd.conf
chsubserver -d -v gregserv -p udp
/usr/sbin/chsubserver | Contains the chsubserver command. |
/etc/ inetd.conf | Contains configuration information for the inetd daemon. |
The chservices command.
The inetd daemon, fing erd daemon, ftpd daemon, rexe cd daemon, rlo gind daemon, rshd daemon, syslo gd daemon, talkd daemon, te lnetd daemon, tftpd daemon.
The inetd.conf file format, protocols file format, services file format.
Setting up and running Web-based System Management in AIX Version 4.3 System Management Guide: Operating System and Devices.
The SMIT Interface for TCP/IP in AIX Version 4.3 System Management Guide: Communications and Networks.
TCP /IP Daemons in AIX Version 4.3 System Management Guide: Communications and Networks.