Networking Forums

Networking Forums > Computer Networking > Linux Networking > display name is changed - redhat , Server 3

Reply
Thread Tools Display Modes

display name is changed - redhat , Server 3

 
 
raam
Guest
Posts: n/a

 
      03-25-2006, 03:24 AM
Dear all,
I am new to linux.Whenever I login linux displayed'root@localhost' but
now it is
(E-Mail Removed) feel someonee would have worked in my computer .How to get
bach 'root@localhost'.How to completely delete info and other settings
of host9.What is this meanining(Host9).Is there anyway to protect the
pc from all these .
Thank you all.
Raam

 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      03-25-2006, 03:47 AM
On 24 Mar 2006 20:24:55 -0800, raam wrote:
> Dear all,
> I am new to linux.Whenever I login linux displayed'root@localhost'
> but now it is (E-Mail Removed) feel someonee would have worked in my
> computer .


Host name change can come via the dhcp server if you ask for it and it
supports the request.


> How to get bach 'root@localhost'.How to completely delete info and
> other settings of host9.What is this meanining(Host9).Is there
> anyway to protect the pc from all these .


I think localhost should not be the host name. I always name the host
and disable dhcp from changing the name. That can keep other apps happier.

You may want to read http://www.catb.org/~esr/faqs/smart-questions.html
There are 200+ linux distributions which have different config
files/locations and commands.

Do bookmark this very large, Frequently Asked Questions (faq) search engine
http://groups.google.com/advanced_group_search
key words(s) in the first box
*linux* in Newsgroup box. You need to use the two
asterisks around linux, pick English



On my Mandriva Linux 2006 Official I have

$ cat /etc/sysconfig/network
HOSTNAME=wb.home.invalid <==== sets hostname on boot
NETWORKING=yes
NETWORKING_IPV6=no
GATEWAYDEV=eth0
GATEWAY=192.168.2.1

$ head -4 /etc/hosts
127.0.0.1 localhost
192.168.2.1 fw.home.invalid fw
192.168.2.10 wb.home.invalid wb <=======
192.168.2.12 wb1.home.invalid wb1


Depending on release and dhcp client, adding
NEEDHOSTNAME=no
in the dhcp nic (/etc/sysconfig/network-scripts/ifcfg-ethX)
keeps the dhcp client from changing host name.
 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      03-25-2006, 09:03 PM
On 24 Mar 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed) .com>, raam wrote:

>I am new to linux.Whenever I login linux displayed'root@localhost' but
>now it is (E-Mail Removed) feel someonee would have worked in my computer .


First off, please don't log in as root unless you absolutely have to
for maintenance. The root account is not a user account, and has NO
protection against mistakes. What does your system think it's name
is? Look at the contents of /etc/sysconfig/network and the output of
the 'hostname' command.

>How to get bach 'root@localhost'.How to completely delete info and other
>settings of host9.What is this meanining(Host9).Is there anyway to
>protect the pc from all these .


How are you connecting to the network? If this is a dialin, the most
likely answer is you've set some "helper" tool like kppp to configure
the system to whatever IP your ISP hands out. I don't use that kind of
software, but postings have said:

Start Kppp, select SETUP, select ACCOUNTS, right click mouse on your
ISP' name to highlight it, select EDIT, select IP, select Dynamic IP
Address, _uncheck_ the Autoconfigure hostname from this ISP box, OK, OK,

If you are connecting via Ethernet, this is a configuration of your DHCP
client. See the man page for that client, and look at it's configuration
file.

Old guy
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
server name in mapped drive display dlw Windows Networking 2 11-09-2009 01:51 PM
RedHat Linux - ssh - screen display problem kejoseph@hotmail.com Linux Networking 6 04-29-2005 03:58 AM
Changed IP address of server now can't get company web MMJII Windows Networking 5 04-22-2005 08:50 PM
FInd remote ip of computer connected to server and display on desk =?Utf-8?B?TWljaGFlbCBOb290ZQ==?= Windows Networking 0 11-12-2004 07:05 PM
display server uptime Arron Linux Networking 2 09-23-2003 06:03 AM



1 2 3 4 5 6 7 8 9 10 11