LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 07-11-2005, 10:51 AM   #1
DeekBeek
Member
 
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS 64-bit
Posts: 122

Rep: Reputation: 15
How to I find my machine name (in SuSE 9.2)?


This has got to be my dumbest question. I'm trying to supply a machine name do I can make a command alias in my sudoers file. I have no idea how the name is made, what file it's stored in, or whether I have to name the computer myself (or how I do that). My computer is not networked, just has a dialup modem.
 
Old 07-11-2005, 11:11 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
I have no clue what you are trying to do, but your computers name is stored in /etc/HOSTNAME. Changes can be applied via 'YaST -> Network devices -> Network Card -> Change -> Edit -> Host name and DNS', or manually. On a standalone PC, you have to name it yourself, some systems receive the name via DHCP.
 
Old 07-11-2005, 01:49 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,689

Rep: Reputation: 286Reputation: 286Reputation: 286
Actually, in SuSE, the /etc/HOSTNAME file only contains the first two parts of a three part hostname. /etc/hosts contains the entire three part name.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you find and change machine name Doug.Gentry Mandriva 2 03-31-2005 08:37 AM
how to find out machine name?? samills70 Linux - Newbie 2 05-28-2004 04:42 AM
How do I find out what architecture a machine has? amp2000 Linux - General 11 12-05-2003 05:42 AM
I can't find a compiler on my machine mjkramer Linux - Newbie 8 10-13-2003 12:24 PM
I cant find linux machine in win2k godwin_73 Linux - Networking 0 11-28-2001 06:43 AM


All times are GMT -5. The time now is 08:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration