what command do you use to change a unix server name.
i've tried hostname, but when the unix server is rebooted, it reverts back to the old server name.
regards
venhart
what command do you use to change a unix server name.
i've tried hostname, but when the unix server is rebooted, it reverts back to the old server name.
regards
venhart
it depends on the unix derivat... in solaris (latest version) are 3 files involved:
In hp-ux, you would use set_parms (1M)
set_parms hostname
For Solaris 8 & 9:
/etc/inet/hosts:<IP ADDRESS> hostname hostname.domainname.com
/etc/net/ticlts/hosts:hostname hostname
/etc/net/ticots/hosts:hostname hostname
/etc/net/ticotsord/hosts:hostname hostname
/etc/nodename:hostname
/etc/dumpadm.conf:DUMPADM_SAVDIR=/var/crash/hostname
/etc/hostname.<interface>:hostname