[3641] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: How to assign a name to the system?

daemon@ATHENA.MIT.EDU (Borg)
Sat Nov 9 20:24:45 1996

Date: Sat, 09 Nov 1996 17:20:39 -0800
From: Borg <{vladimip@iceonline.com}>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Lance Cummings wrote:
> 
> I wish I knew the answer to this question.  (It would mean that
> I know a heck of a lot more about Linux than I presently do.)

You can use the following set of commands to play
with hostnames:

[vlad@borg vlad]$ hostname
borg.assimilator.net
[vlad@borg vlad]$ hostname blah.blah.blah
hostname: you must be root to change the host name
[vlad@borg vlad]$ su
Password: 
[root@borg vlad]# hostname aaa.bbb.ddd
[root@borg vlad]# hostname
aaa.bbb.ddd
[root@borg vlad]# hostname borg.assimilator.net
[root@borg vlad]# domainname
borg.assimilator.net
[root@borg vlad]# dnsdomainname 
assimilator.net
[root@borg vlad]# 


> > I do not have  an /etc/HOSTNAME file installed under Colgate. Do I
> > need one?

I have. It contains only one entry and that's the name of
my host.

-- 
*** #include <disclaimer.h> ***** Good pings come in small packets
******** Vlad Petersen ********** ********************************
*** <vladimip@iceonline.com> **** **** Linux: OS I can trust *****
******** Vancouver, B.C. ******** ********************************


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post