Date: Mon, 17 Apr 2006 19:00:14 -0400 (EDT) From: Andy Reitz <reitz@eecs.cwru.edu> To: Matt Rajca <mateuszrajca@gmail.com> Cc: freebsd-questions@FreeBSD.org Subject: Re: How do I change hostname in freebsd? Message-ID: <Pine.SOL.4.53.0604171856390.25679@bender> In-Reply-To: <3182c3130604171541y577e209fsc5e71624458834a5@mail.gmail.com> References: <3182c3130604171541y577e209fsc5e71624458834a5@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Matt, As root, type "hostname <new hostname>", and the hostname will be changed immediately. To make this change permanent across reboots, edit the file '/etc/rc.conf', and add the following line: hostname="new.host.name" The '/etc/rc.conf' file is described here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-core-configuration.html -Andy.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.53.0604171856390.25679>