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 purpose from that of hostname but in many cases their values are the same; so you might want to edit /etc/mailname and restart your mail transport agent. Here are the settings for my laptop, named "thanatos". [EMAIL PROTECTED]:~$ hostname thanatos [EMAIL PROTECTED]:~$ cat /etc/hostname thanatos [EMAIL PROTECTED]:~$ cat /etc/mailname localhost [EMAIL PROTECTED]:~$ head -3 /etc/hosts 127.0.0.1 localhost.localdomain localhost 127.0.1.1 thanatos -- Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]