From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney)
Subject: Re: Hostname problem
Date: 2000/05/16 [thread overview]
Message-ID: <8frpe7$uvl$1@news.ndsu.nodak.edu> (raw)
In-Reply-To: 39212E38.E03CBB08@SGMS.SEMA.BE
In article <39212E38.E03CBB08@SGMS.SEMA.BE>,
Miguel Demaerel <Miguel.Demaerel@SGMS.SEMA.BE> wrote:
> Hoi
>
> How can I change the hostname?
> The hostname is van1.van.org but I wont van1 (without van.org)
>
> I have done hostname van1
> In the /etc/hosts ipadres van1
Don't do that. Stick with
ipaddress fully-qualified-real-name short-name alias1 alias2 ... aliasn
> But when I reboot it is back van1.van.org
You only need to edit /etc/rc.config and change the HOSTNAME to the short
version. You can do this with an editor or with the
rcmgr set HOSTNAME van1
command. Then just run
hostname van1
as root, and it's done.
Tim
--
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J1, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
prev parent reply other threads:[~2000-05-16 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-16 4:00 Hostname problem Miguel Demaerel
2000-05-16 4:00 ` Jeff Wilson
2000-05-16 4:00 ` Tim Mooney [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox