HP Visualize c180xp IRIX to HP-UX Migration Guide - Page 62
The set_parms Script, Networking Startup Files
View all HP Visualize c180xp manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 62 highlights
Configuring TCP/IP # chown root.sys pub # chmod 755 pub 10. If you created an incoming directory, set the permissions to allow anybody to write there but not to read its contents: # chown ftp.other incoming # chmod 333 incoming Any FTP user can now get or put files in the incoming directory, but they must know the name of the file beforehand, because they cannot list directory contents. 11. Enable FTP logging as discussed above. For example, the following entry in /etc/inetd.conf means FTP sessions and get or put operations (excluding byte count) are logged in /var/adm/SYSLOG: ftp stream tcp nowait root /usr/etc/ftpd ftpd -ll 12. Once you have edited /etc/inetd.conf, restart inetd with the following command: # /etc/killall -HUP inetd NOTE: Although FTP logging records in /var/adm/SYSLOG show any passwords entered by users logging in, no password checking is done for anonymous FTP. HP-UX TCP/IP Networking The set_parms Script On pre-installed or newly installed systems the startup script /etc/rc runs /sbin/set_parms to interactively set up a basic network configuration. The parameters set are: • Host name • Time zone • IP address • Subnet mask • Default gateway • Domain name server (DNS) • Network Information Service (NIS), one of the NFS services • Root password You can reconfigure these basic network configurations later by starting /sbin/set_parms manually: # set_parms initial Networking Startup Files When the system boots to run-level 2 or higher, the script /sbin/init.d/net starts. It fetches the configurable parameters from the file /etc/rc.config.d/netconf and executes the following commands: ifconfig Sets the IP address, subnet mask, and local loopback interface lanconfig Sets the encapsulation method route Configures the routing table For detailed information about these commands, see the man pages.. 57