HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 66
Configuring inetd
View all HP Visualize J210XC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 66 highlights
Configuring TCP/IP 1. Change the host's IP address in the /etc/hosts file. 2. Change the IP_ADDRESS[n] variable in the /etc/rc.config.d/netconf file to the new IP address. 3. If the host is on a network that uses BIND, change the host's IP address in the data files of the authoritative name servers. If the host is on a network that uses NIS, change its IP address in the /etc/hosts file on the NIS master server, and issue the following commands to regenerate the hosts database and push it out to the NIS slave servers: # cd var/yp # /usr/ccs/bin/make hosts 4. If the host is moving to a different subnet, change the ROUTE_DESTINATION, ROUTE_GATEWAY, and BROADCAST_ADDRESS[n] variables in /etc/rc.config.d/netconf. If the host is moving to a nework that uses a different subnet mask, change the SUBNET_MASK[n] variable in /etc/rc.config.d/netconf. 5. If the host is moving to a different network, you may have to configure new routes for it. 6. If the host is on a network that uses gated, change its IP address on all the gated routers. 7. If the host is a BOOTP client, change its IP address in the /etc/bootptab file on the BOOTP server. If the host is a BOOTP server, and a BOOTP relay agent is configured to relay boot requests to the host, change the host's IP address in the /etc/bootptab file on the BOOTP relay agent. 8. If the host is an NTP server, change its IP address in the /etc/ntp.conf file on NTP clients. If the host is an NTP client and is moving to another network, you might have to configure a different NTP server in its /etc/ntp.conf file. 9. Reboot the host. Configuring inetd The inetd daemon is always started as part of the boot process by the startup script /sbin/init.d/inetd. In addition to the /etc/inetd.conf configuration file, you can configure an optional security file called /var/adm/inetd.sec, which restricts access to the services started by inetd. 1. Make sure the following lines exist in /etc/inetd.conf. If any of the lines starts with a pound sign (#), remove it to enable the service. ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l telnet stream tcp nowait root /usr/lbin/telnetd telnetd tftp dgram udp wait root /usr/lbin/tftpd tftpd bootps dgram udp wait root /usr/lbin/bootpd bootpd finger stream tcp nowait bin /usr/lbin/fingerd fingerd login stream tcp nowait root /usr/lbin/rlogind rlogind shell stream tcp nowait root /usr/lbin/remshd remshd exec stream tcp nowait root /usr/lbin/rexecd rexecd To disable any of these services, comment out the line by typing a pound sign (#) as the first character on the line. 2. If you made any changes to /etc/inetd.conf, type the following command to force inetd to read its configuration file. # /usr/sbin/inetd -c 61