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

Re: how to change hostname



Lee Braiden <jel@tundra.ath.cx> writes:

> I *think* the hostname command will set /etc/hostname for you, as well as 
> forcing the running system to update its own idea of what the hostname is.

It only sets the hostname in the kernel using the hostname(2) syscall.

> For /etc/mailname, dpkg-reconfigure exim4-config should do it.
> 
> As for /etc/hosts, I think your options are either to edit it manually, or use 
> some dynamic system like DNS.  However, base-config *might* help.

OK, I will try if base-config does everything I expect it to do.

urs



Reply to: