- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: renaming hostname
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 11:23 AM
05-29-2001 11:23 AM
renaming hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 11:25 AM
05-29-2001 11:25 AM
Re: renaming hostname
command...
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 11:31 AM
05-29-2001 11:31 AM
Re: renaming hostname
Here is an excerpt from the set_parms man page:
hostname
Sets the system hostname. Validates a user supplied hostname according to host naming conventions and sets various system initialization variables to operate with that hostname. Particularly, it edits /etc/hosts to associate the new hostname with the current IP address of the system, if that can be determined. First boot :
Also allows the user to specify a DHCP server to get hostname and networking information from, then confirms the information.
WARNING: set_parms does not know about optionally installed software when changing the hostname. If such software remembers the previous hostname, then it may not work properly after the hostname is changed.
A mechanism is provided that helps generalize the hostname changing function. set_parms will call, in ls(1) sorted order, any executable programs installed in the directory /sbin/ch_hostname.d. This occurs in
first boot or non-first boot calls. HP may in the future supply special programs in this location. The system administrator may also supply custom programs for site installations using, for example, Ignite-UX.
The system must be rebooted after the hostname is changed for it to take full effect.
**************************
If you want to do it manually, then you can edit the /etc/rc.config.d/netconf file and /etc/hosts file. This does not take into account dependencies on other systems files like .rhosts, hosts.equiv, .netrc files, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 10:31 PM
05-29-2001 10:31 PM
Re: renaming hostname
#/sbin/set_parms hostname
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 11:45 PM
05-29-2001 11:45 PM
Re: renaming hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2001 02:51 AM
05-30-2001 02:51 AM