| United States-English |
|
|
|
![]() |
HP-UX Reference > sset_parms(1M)HP-UX 11i Version 1.6: June 2002 |
|
NAMEset_parms — set up system hostname, networking, date/time and root password SYNOPSISset_parms hostname | timezone | date_time | root_passwd | ip_address | taddl_netwrk set_parms initial DESCRIPTIONset_parms is an interactive system set up program which allows the user to set up various important system parameters when first booting up a newly installed operating system. In a first boot situation, set_parms is invoked automatically by /sbin/auto_parms. For set_parms purposes, first boot is defined as having no hostname set when the system starts up. This causes set_parms to step through all of its sub-areas to allow the user to set a hostname, select the proper timezone for the system's location, set the date and time, set a root password, and set an IP address, netmask, default routing, DNS, and NIS information. After the system has booted and is running, set_parms may also be called directly from the command line to finish setting up a particular sub-area (first form above), or to step through all areas (via set_parms initial) similar to how it works at first boot. There are certain limitations to its actions when it's run after first boot, see below. set_parms has two available user interfaces: a terminal-based interface and a graphical interface. At first boot, the graphical interface will be used if the system console is a graphics device, otherwise a terminal interface is used. If called on a normal running system, the graphical interface will be used if and only if a DISPLAY variable is set in the user's environment and an X server can be contacted at the host referenced in the DISPLAY variable. If run under CDE, set_parms should select the graphical interface. set_parms is also DHCP-aware. If the user attempts to change DHCP supplied data such as the hostname or IP address, set_parms will issue a warning. If the user continues with the changes, then set_parms will relinquish the DHCP lease. On first boot, set_parms will ask the user if he would like to try getting set up data from a DHCP server. set_parms can only be run by the super-user. OptionsEach sub-area is described below. In a first boot situation, all of the sub-areas are run sequentially. Special first boot behavior is noted if applicable, along with any concerns when calling set_parms on a running system. When calling a sub-area directly, only a unique portion of the sub-area name must be given.
set_parms and Ignite-UX/Cold InstallAfter "cold installing" HP-UX from a CD, or using Ignite-UX to install HP-UX, the file /tmp/install.vars is generally left on the system. This file is used to communicate to set_parms hostname and networking information that was used during the installation, in case the user wants to use any of these parameters as final system parameters. In particular, set_parms uses as defaults the shell-style variables in this file that begin with INST_. For example, INST_LAN_DEV indicates which LAN interface was used during a network cold install. This is the LAN interface that set_parms will configure. In general, set_parms first looks in the system configuration files in the /etc/rc.config.d directory for default information, then in /tmp/install.vars. If Ignite-UX is installed on your system, see the manual pages for ignite(5) and instl_adm(4). In particular, look at instl_adm(4) for descriptions of the is_net_info_temporary, run_setparms, and final variables. Native Language Support (NLS):set_parms supports all of the standard HP supplied languages. In first boot situations, the language set_parms uses will be dictated by either geocustoms(1M) or the LANG variable as set in /etc/rc.config.d/LANG. Geocustoms , if called by set_parms, allows the user to pick both a system set up language (the language of the system administrator setting up the system, to use in the user interface) and a system default language (the language of the end user). set_parms uses the system set up language as picked within geocustoms, unless the system default language is set to be an Asian language. In this case, it will use the Asian language, (from the file /etc/rc.config.d/LANG), since geocustoms itself does not provide an Asian language user interface. Interaction with auto_parms and geocustomsDuring the boot-up sequence, /sbin/rc always invokes auto_parms, which in turn detects the first boot situation and the need to run geocustoms (independent conditions) and calls set_parms if either or both of these conditions are true. set_parms first sets up an X-windows environment (if the system console is on a graphics display), and then calls geocustoms if necessary. After geocustoms (if called) is finished, and in a first boot situation, set_parms starts its interface and, based on user input, may call back into auto_parms to obtain and set up the management of a DHCP lease. After this has been done, and after set_parms completes its other system set-up actions, control passes back to /sbin/rc which completes the boot-up sequence utilizing the newly created system data. FILES
|
||||||||||||||||||||||||||||
|
|||||||||||||||