Moin Marc! Marc Pangerl schrieb am Freitag, den 27. Juli 2001: > Ein Streifzug durch einige Dateien ergab für mich Verwirrendes: > > $ cat /etc/hostname > eisbach > $ cat /etc/hosts > 127.0.0.1 eisbach.de eisbach localhost > $ cat /proc/sys/kernel/hostname > eisbach > $ cat /proc/sys/kernel/domainname > (none) > > An dieser Stelle hätte ich eigentlich ein "de" oder "de." erwartet. > Grübel... aber den Exim scheint es nicht zu stören. Auszug aus /usr/src/linux-2.4.7/Documentation/sysctl/kernel.txt ---8<---schnipp-- domainname & hostname: These files can be used to set the NIS/YP domainname and the hostname of your box in exactly the same way as the commands domainname and hostname, i.e.: # echo "darkstar" > /proc/sys/kernel/hostname # echo "mydomain" > /proc/sys/kernel/domainname has the same effect as # hostname "darkstar" > /proc/sys/kernel/hostname # domainname "mydomain" > /proc/sys/kernel/domainname Note, however, that the classic darkstar.frop.org has the hostname "darkstar" and DNS (Internet Domain Name Server) domainname "frop.org", not to be confused with the NIS (Network Information Service) or YP (Yellow Pages) domainname. These two domain names are in general different. For a detailed discussion see the hostname(1) man page. ---8<---schnapp-- Ähm, ... RTFM ;-) CU Markus -- Markus Hubig <mhubig@web.de>++++Vorholzstraße 6+++76131 Karlsruhe+++ [tele: +049 7053 967197]**[reg. Linux user #204961]**[ICQ# 98188685] Key fingerprint = 75E3 891C 38D3 EA97 CC53 468D 5222 6A0A D122 A658
Attachment:
pgpY5I5qRhYrg.pgp
Description: PGP signature