Am So, den 21.11.2004 schrieb Satish Balay um 17:18: > > How and where is hostname set and how does one alter it ? > > - add the name to /etc/sysconfig/network > HOSTNAME=foobar > > - add the ip-addresss map to /etc/hosts > 127.0.0.1 foobar Attention! This advice can be understood misleading and wrongly following can cause severe network problems. As the comment in the /etc/hosts file itself very clearly says: # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost So if you have an own IP, i.e. one from private IP area, then add a further line to the hosts file, like: 192.168.11.12 long.host.name short If just 127.0.0.1 is used, then the existing line has to be changed to something like: 127.0.0.1 localhost.localdomain localhost long.host.name short Keep in mind that some applications like Sendmail do take the first "dotted" name as the hostname. > Satish Alexander -- Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp Serendipity 18:44:13 up 1 day, 13:31, load average: 0.20, 0.14, 0.16
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil