How to change system's hostname on HP-UX Unix system

How to change system's hostname on HP-UX Unix system

To change the hostname on an HP-UX Unix system, you can use the "sam" command and the "Networking" option.

Here's the general procedure:

  1. Open a terminal window and log in as the "root" user.

  2. Type the following command to open the System Administration Manager (SAM):

refer to:‮ruttual‬i.com
sam
  1. In the SAM main menu, select "Networking" and press Enter.

  2. In the Networking menu, select "System Settings" and press Enter.

  3. In the System Settings menu, select "Change Hostname" and press Enter.

  4. Type the new hostname and press Enter.

  5. Confirm the change by typing "y" and pressing Enter.

  6. Exit the SAM by selecting "Quit" from the main menu.

  7. You may need to reboot your system for the hostname change to take effect.

Note: The hostname is a unique name that identifies your system on a network. It is typically set during the installation of the operating system, but it can be changed at any time. It is important to choose a hostname that is unique and meaningful, as it will be used to access your system over the network.

Created Time:2017-10-28 21:38:59  Author:lautturi