From owner-freebsd-questions Sat Dec 23 16:50:58 2000 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 23 16:50:54 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from athserv.otenet.gr (athserv.otenet.gr [195.170.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 2FD3037B402 for ; Sat, 23 Dec 2000 16:50:53 -0800 (PST) Received: from hades.hell.gr (patr530-b030.otenet.gr [195.167.121.158]) by athserv.otenet.gr (8.10.1/8.10.1) with ESMTP id eBO0ooh15726; Sun, 24 Dec 2000 02:50:50 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.1/8.11.1) id eBNLa0817966; Sat, 23 Dec 2000 23:36:00 +0200 (EET) Date: Sat, 23 Dec 2000 23:36:00 +0200 From: Giorgos Keramidas To: Jose Montilla Cc: questions@FreeBSD.ORG Subject: Re: How does one change the hostname ? Message-ID: <20001223233600.K48060@hades.hell.gr> References: <3A40CD6C.1F74FFDD@trapezo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <3A40CD6C.1F74FFDD@trapezo.com>; from jose@trapezo.com on Wed, Dec 20, 2000 at 07:17:01AM -0800 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Dec 20, 2000 at 07:17:01AM -0800, Jose Montilla wrote: > Subject: How does one change the hostname ? > on a FreeBsd OS ? You only need to update the following entry in your /etc/rc.conf file: hostname="hades.hell.gr" The next time your system boots or comes up from a change to single user mode, the hostname will have changed. Oh, and please, do not leave part of the question in the subject of the body and part of it in the Subject: line. Ciao, Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message