From owner-freebsd-questions@FreeBSD.ORG Wed Jan 14 17:45:56 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4F6E16A4CE for ; Wed, 14 Jan 2004 17:45:56 -0800 (PST) Received: from theatre.msu.edu (theatre.msu.edu [35.8.69.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 645D043D86 for ; Wed, 14 Jan 2004 17:45:27 -0800 (PST) (envelope-from sagejona@theatre.msu.edu) Received: from theatre.msu.edu (c-67-167-140-34.client.comcast.net [67.167.140.34]) (authenticated bits=0) by theatre.msu.edu (8.12.10/8.12.10) with ESMTP id i0F1jKJa086625 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Jan 2004 20:45:21 -0500 (EST) (envelope-from sagejona@theatre.msu.edu) Message-ID: <4005F0B1.4010801@theatre.msu.edu> Date: Wed, 14 Jan 2004 20:45:21 -0500 From: "Jonathan T. Sage" Organization: MSU Dept of Theatre User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marco Beishuizen , questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 0.82.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Phone: +1-517-974-1428 X-WWW-Home-Page: http://theatre.msu.edu X-PGP-Key-Figerprint: 182C CF3F 93A9 1DAA 2EBE D4D5 A159 96D9 452E A7F1 X-IM: AIM(jonathantsage,spartyman), ICQ(9587621), YIM(wisesage98) Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0EF7A318388EDDACF626DC99" Subject: Re: changing hostname X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 01:45:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0EF7A318388EDDACF626DC99 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Marco Beishuizen wrote: > Hi, > > I would like to change the hostname of one of my machines without a > reboot. Is it enough to change my rc.conf and run the /etc/netstart script > or do I have to do something else? > man hostname(1): NAME hostname -- set or print name of current host system SYNOPSIS hostname [-s] [name-of-host] a simple # hostname new.host.name should do what you're asking. also add it to rc.conf so the changes stay on next reboot ~j --------------enig0EF7A318388EDDACF626DC99 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFABfCxoVmW2UUup/ERAsxFAJ9lxJJnECDMC0GUZRUOEes2dEP8lgCgi8cT Vchugrn+ogKIgaVvj/xtuQw= =N+k1 -----END PGP SIGNATURE----- --------------enig0EF7A318388EDDACF626DC99--