Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-29-2003, 12:37 PM   #1
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,
Old 10-29-2003, 12:47 PM   #2
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
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
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: desired_hostname localhost.localdomain localhost


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:57 PM.

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