LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2003, 12:37 PM   #1
jsin
Member
 
Registered: Jul 2003
Distribution: RedHat 8
Posts: 36

Rep: Reputation: 15
How do I change name from "LocalHost"?


I was wondering should I change my computer from Local Host to something else? If so How do I do it?
What, if any, is the benefit of changing it?
I am using Red Hat 8.

Thanks guys,
Jsin
 
Old 10-29-2003, 12:47 PM   #2
randomblast
Member
 
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
emacs /etc/sysconfig/network-scripts/ifcfg-eth0
 
Old 10-29-2003, 12:54 PM   #3
jsin
Member
 
Registered: Jul 2003
Distribution: RedHat 8
Posts: 36

Original Poster
Rep: Reputation: 15
What exactly will this command do? Will it change from "root@localhost" to "root@whatever"?

Thanks for the reply.
 
Old 10-29-2003, 01:02 PM   #4
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
in /etc/sysconfig/network you will need a line like this --> HOSTNAME=desired_hostname
also in /etc/hosts you will need to add the hostname like:
127.0.0.1 desired_hostname localhost.localdomain localhost
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 2: Screen Resolution can not change from "800X600" to "1024X 768" suhaimi_sj Fedora - Installation 18 12-17-2009 04:29 AM
how do i change the name of my computer from "localhost" poiuytrewq Linux - Newbie 3 04-17-2005 06:57 AM
how can i change my vga driver from "vesa" to "savage" mojarron Slackware - Installation 1 03-25-2005 12:03 AM
How to change prompt hostname "localhost"? Arodef Fedora 3 08-02-2004 07:45 AM
Can you change the "title" under your name that says "member" or "newbie&qu Whitehat LQ Suggestions & Feedback 3 11-19-2003 07:32 PM


All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration