summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorlennart <lennart@bf9bc1cc-28ce-0310-abfb-9041aa761afb>2005-11-19 19:05:05 +0000
committerlennart <lennart@bf9bc1cc-28ce-0310-abfb-9041aa761afb>2005-11-19 19:05:05 +0000
commitdf2ce9dbb6e0d55aa375f57293a7b2bf31f44be7 (patch)
tree2a2a169b980da31711992b678dcdb76eb73c243f /README
parentafbb33b5242fa09ef6097ba921113ebee92d9780 (diff)
clean up for distribution
git-svn-id: svn+ssh://rootserver/home/lennart/svn/private/projects/nss-myhostname@85 bf9bc1cc-28ce-0310-abfb-9041aa761afb
Diffstat (limited to 'README')
-rw-r--r--README17
1 files changed, 17 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..205118d
--- /dev/null
+++ b/README
@@ -0,0 +1,17 @@
+nss-myhostname is a GNU libc NSS module that statically translates the
+local host name to the IP address 127.0.0.2 (which is on the loopback
+device) and vice versa.
+
+This is useful to make sure that the local host name is always
+resolvable. Some programs (such as sudo) require this functionality.
+
+Especially on embedded systems it may not be desirable to modify
+/etc/hosts to match the current host name.
+
+It is a good idea to put this module as last resort in
+/etc/nsswitch.conf, to make sure that other name service take
+precedence.
+
+-- Lennart Poettering, lennart [at] poettering [dot] de
+
+$Id$