Date: Wed, 14 Jan 2004 20:45:21 -0500 From: "Jonathan T. Sage" <sagejona@theatre.msu.edu> To: Marco Beishuizen <marco@beishuizen.info>, questions@freebsd.org Subject: Re: changing hostname Message-ID: <4005F0B1.4010801@theatre.msu.edu> In-Reply-To: <Pine.BSF.4.58.0401150216341.284@tsunami.bsd> References: <Pine.BSF.4.58.0401150216341.284@tsunami.bsd>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4005F0B1.4010801>