Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Changing hostname of Sun E250

Posted on 2002-07-11
4
Medium Priority
?
279 Views
Last Modified: 2010-04-21
I'm trying to change the hostname of an E250, but everytime I reboot it shows the old name.  The things I'm doing are

     vi /etc/hosts and change name in there
     vi /etc/hostname.hme0 and change name in there
     hostname newname


What am I missing?

I would be greatful for a very quick response.

Thanks
0
Comment
Question by:IainWallace
  • 2
4 Comments
 

Author Comment

by:IainWallace
ID: 7145516
Managed to work it out myself.

You have to change /etc/nodename too.
0
 
LVL 38

Accepted Solution

by:
yuzh earned 600 total points
ID: 7145575
You need to change the following files:

/etc/hosts
/etc/hostname.hme0
/etc/nodename  
/etc/net/ticlts/hosts
/etc/net/ticots/hosts
/etc/net/ticotsord/hosts

and then reboot your system

cheers!
=======
yuzh




0
 
LVL 6

Expert Comment

by:bira
ID: 7146693
hostname Command

Purpose

Sets or displays the name of the current host system.

Syntax

/usr/bin/hostname [ HostName ] [ -s ]

Description

The /usr/bin/hostname command displays the name of the current host
system. Only users with root user authority can set the host name.
The mkdev command and the chdev commands also set the host name permanently.
Use the mkdev command when you are defining the TCP/IP instance for
the first time.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 7192844
hi IainWallace,

   Could you please tell me, why give me a Grade B, thanks!

==========
yuzh
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month12 days, 4 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question