Re: how to change hostname

2005-05-22 Thread Thomas Hood
On Fri, 20 May 2005 10:00:19 +0200, Urs Thuermann wrote: > What is the debain way to change to hostname of a system. Run "hostname NEWHOSTNAME" and put NEWHOSTNAME into /etc/hostname. If occurrences of OLDHOSTNAME appear in /etc/hosts, change them to NEWHOSTNAME. The mailname serves a different

RE: how to change hostname

2005-05-20 Thread Saro
/etc/hostname -Mensaje original- De: Urs Thuermann [mailto:[EMAIL PROTECTED] Enviado el: viernes, 20 de mayo de 2005 13:19 Para: debian-user@lists.debian.org Asunto: Re: how to change hostname Maurits van Rees <[EMAIL PROTECTED]> writes: > I think you just issue the followin

Re: how to change hostname

2005-05-20 Thread Urs Thuermann
Lee Braiden <[EMAIL PROTECTED]> 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-recon

Re: how to change hostname

2005-05-20 Thread Urs Thuermann
Maurits van Rees <[EMAIL PROTECTED]> writes: > I think you just issue the following command as root: > > hostname No. The hostname command only sets the current hostname in the running kernel. I want to change the hostname permanently. urs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] wi

Re: how to change hostname

2005-05-20 Thread Lee Braiden
On Friday 20 May 2005 08:49, 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* the hostname command will s

Re: how to change hostname

2005-05-20 Thread Maurits van Rees
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 t