LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-23-2002, 07:27 PM   #1
Lorddraco98
LQ Newbie
 
Registered: Apr 2002
Distribution: Slackware 8
Posts: 27

Rep: Reputation: 15
Changing Computer Name


Just a quick question. When Linux orgianlly setup, it had my computer name as Darkstar. So when i get to login promt it would say: Darkstar Login.
Or user@darkstar
so. When Slackware installed in network config I typed in my website name as host and domain names and now that login shows websitename login:
and user@websitename
how do I change the name back to Darkstar because I like that name so much hehe
 
Old 04-23-2002, 07:29 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
With hostname, do "man hostname" to see the options and switches.
 
Old 04-23-2002, 07:34 PM   #3
Lorddraco98
LQ Newbie
 
Registered: Apr 2002
Distribution: Slackware 8
Posts: 27

Original Poster
Rep: Reputation: 15
and from there I will be able to change it back to the default(Darkstar)?(sorry, can't get on my linux rig till tomorrow. parents place too many restrictions hehe)
 
Old 04-23-2002, 08:26 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
I put that on the other thread, but you can edit the one line file /etc/HOSTNAME.

The command hostname, only changes that until reboot.

Cheers,

Finegan
 
Old 04-23-2002, 08:58 PM   #5
Lorddraco98
LQ Newbie
 
Registered: Apr 2002
Distribution: Slackware 8
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by finegan
I put that on the other thread, but you can edit the one line file /etc/HOSTNAME.

The command hostname, only changes that until reboot.

Cheers,

Finegan
I'm sorry dude. But I'm a complete Linux newbie. Could you, if you don't mind, list out exactly what commands and such I use to edit that file and then how to edit it? If it's too much of a pain then dont worry about it and I'll just figure out by experimenting hehe. THanks again!!
 
Old 04-23-2002, 09:05 PM   #6
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
No problem,

pico /etc/HOSTNAME

(manuever around pico just like an old-school word processor, change the name to... darkstar.example.net (which was the default).

ctrl+o (to save)
ctrl+x (to exit)

Cheers,

Finegan
 
Old 04-24-2002, 06:02 AM   #7
Lorddraco98
LQ Newbie
 
Registered: Apr 2002
Distribution: Slackware 8
Posts: 27

Original Poster
Rep: Reputation: 15
what do ya know, it worked. You rock man
 
  


Reply



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 04:45 AM
Changing my computer name Maverick1182 Linux - Newbie 1 08-22-2004 11:38 AM
CHanging Computer name minm Linux - Newbie 4 08-20-2004 02:44 PM
Changing Computer Name Tank400 Mandriva 6 04-22-2004 09:47 AM
Computer name/Domain name changing tweselak Linux - Newbie 4 07-31-2003 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:24 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
Open Source Consulting | Domain Registration