LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-19-2004, 09:51 PM   #1
bezaleel
Member
 
Registered: Jan 2004
Location: South Carolina
Distribution: Fedora Core 2
Posts: 30

Rep: Reputation: 15
Terminal: Wrong Domain


Somehow I messed up something when I was setting up in the beginning: when I'm in Terminal, instead of it telling me my login as this--literally "aholiab@localhost"--somehow I thought this should be my dial-up ISP, mfire. So it prompts me with literally "aholiab@mfire".

What should I change to fix the prompt? I see that I can control my prompt in .bashrc, but is there something more fundamentally wrong? (When I'm logging in, the system also wonders where mfire.com is--but I'm just on a dial-up ISP.)
 
Old 01-20-2004, 08:19 AM   #2
carlmarshall
Member
 
Registered: Jan 2004
Location: North Yorkshire, UK
Distribution: Centos 5
Posts: 133

Rep: Reputation: 16
The hostname of the system is held in /etc/HOSTNAME

Edit this to your choice.

Don't forget to change the entry in /etc/hosts so that the system can resolve its own IP address.

Carl.
 
Old 01-20-2004, 07:13 PM   #3
bezaleel
Member
 
Registered: Jan 2004
Location: South Carolina
Distribution: Fedora Core 2
Posts: 30

Original Poster
Rep: Reputation: 15
"The hostname of the system is held in /etc/HOSTNAME. Edit this to your choice.

"Don't forget to change the entry in /etc/hosts so that the system can resolve its own IP address."


My /etc/hosts is just fine: I have what I expect.

But I don't have any such file as /etc/mfire. I have a number of files including "mfire" in lower folders within /etc, but all of them seem to be properly connected to my ISP.

None seem to be just for my localhost.

Any ideas?
 
Old 01-21-2004, 04:11 AM   #4
carlmarshall
Member
 
Registered: Jan 2004
Location: North Yorkshire, UK
Distribution: Centos 5
Posts: 133

Rep: Reputation: 16
OK, but what do you have in /etc/HOSTNAME ?

Carl.
 
  


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
Sendmail - wrong mail sender domain display jika Linux - Newbie 1 05-27-2005 03:29 AM
qmail generating mail that sends to the wrong domain? shadoxity Linux - Software 5 04-16-2005 01:56 AM
Login error with wrong domain bezaleel Linux - Newbie 1 03-22-2004 06:02 AM
Wrong Hostname in a MS Domain Zeb Linux - Networking 0 03-16-2004 04:32 AM
wrong domain IP addresses _stef_ Linux - Networking 1 05-21-2002 06:51 AM


All times are GMT -5. The time now is 10:26 PM.

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