Changes the contents of the /etc/services file.
chservices [ -a ] -v ServiceName -p protocol -n port [ -u "Alias ..." ]
chservices -c -v ServiceName -p protocol -n port [ -V NewServiceName ] [ -P NewProtocol ] [ -N NewPort ] [ -u "Alias ..." ]
chservices -d -v ServiceName -p protocol -n port [ -V NewServiceName ] [ -u Alias ..." ]
The chservices command adds, deletes, or changes entries in the /etc/services 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 chservices command manipulates the following entries for known services:
Note: Adding or keeping comments on lines modified with the chservices command is not supported.
Access Control: Only the root user and members of the system group have access to this command.
chservices -a -v gregsapp -p udp -n 1423
chservices -a -v gregsapp -p udp -n 1423 -u "fredsapp"
chservices -c -v gregsapp -p udp -N 1456
chservices -d -v gregsapp -p udp -n 1456
/usr/sbin/chservices | Contains the chservices command. |
/etc/services | Contains services information for the inetd daemon. |
The chsubserver command.
The inetd daemon, fingerd daemon, ftpd daemon, rexecd daemon, rlogind daemon, rshd daemon, syslogd daemon, talkd daemon, telnetd daemon, tftpd daemon.
The inetd.conf file format, protocols file format, services file format.
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.