LinuxQuestions.org
Register a domain and help support LQ
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 08-20-2004, 03:16 PM   #1
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
CHanging Computer name


Hello, Right now in Linux, my computer name is mark@linux

so basically it's called linux

How do i change it?

And if i do change it would it upset any other dependancies?
 
Old 08-20-2004, 03:32 PM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 30
As root:
Code:
mark@linux$ su
Password:
root@linux# hostname mynewcomputername
root@mynewcomputername#
 
Old 08-20-2004, 03:35 PM   #3
littlemidget
Member
 
Registered: Aug 2004
Location: Oslo, Norway.
Distribution: Debian Sarge
Posts: 171

Rep: Reputation: 30
Well, using hostname <hostname> usually works fine. The only thing i remember it to crash with is evolution.

To set your hostname, try to add it in these two files (if you have them), or just try hostname

/etc/sysconfig/network
/etc/hosts
 
Old 08-20-2004, 03:37 PM   #4
littlemidget
Member
 
Registered: Aug 2004
Location: Oslo, Norway.
Distribution: Debian Sarge
Posts: 171

Rep: Reputation: 30
Looks like PenguinPwrdBox beat me with 3 minutes :-P
 
Old 08-20-2004, 03:44 PM   #5
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
thanks
 
  


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
Changing Computer Name chris21000 Linux - Networking 1 11-28-2004 05:45 AM
Changing my computer name Maverick1182 Linux - Newbie 1 08-22-2004 12:38 PM
Changing Computer Name Tank400 Mandriva 6 04-22-2004 10:47 AM
Computer name/Domain name changing tweselak Linux - Newbie 4 07-31-2003 04:29 PM
Changing Computer Name Lorddraco98 Slackware 6 04-24-2002 07:02 AM


All times are GMT -5. The time now is 10:34 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