[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to change hostname



On Fri, May 20, 2005 at 09:49:02AM +0200, Urs Thuermann wrote:
> What is the debain way to change to hostname of a system.  Only
> editing /etc/hostname is not sufficient, because there are other
> places where the hostname is stored, e.g. /etc/hosts, /etc/mailname,
> etc.

I think you just issue the following command as root:

hostname <your host name>

HTH,

-- 
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands] 
Public GnuPG key: keyserver.net ID 0x1735C5C2
"Let your advance worrying become advance thinking and planning."
 - Winston Churchill

Attachment: signature.asc
Description: Digital signature


Reply to: