Computer ForumsComputers  

Go Back   Computer Forums > PC Technology Zone > Linux, BSD, other *nixes & Open Source Software

Reply
 
LinkBack Thread Tools Display Modes
Old 01-17-2004, 12:01 AM   #1 (permalink)
Newb Techie
 
Join Date: Oct 2003
Posts: 17
Default Changing hostname

How do you change the hostname of your computer in Linux. I'm using Mandrake 9.1.
hempage is offline   Reply With Quote
Old 01-18-2004, 02:02 PM   #2 (permalink)
Newb Techie
 
Join Date: Jan 2004
Posts: 21
Default

Call hostname from a root prompt like so:

fubar:/ # hostame new-name

new-name being whatever you want to change the name to. btw, my nick is a bit misleading, I've switched to Debian and i don't think I'll be going back.

~~~
Steve
ESmandrake is offline   Reply With Quote
Old 01-20-2004, 06:56 PM   #3 (permalink)
Monster Techie
 
Join Date: Nov 2002
Posts: 1,368
Send a message via AIM to shan
Default

make sure you're root.
__________________

C:\\ Is the root of all evil




phiber@sysdum.com
spam this account, it's fun.
shan is offline   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 On



All times are GMT -5. The time now is 06:46 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0