]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Document privilege separation
authorVincent Bernat <bernat@luffy.cx>
Sun, 16 Nov 2008 19:04:59 +0000 (20:04 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sun, 16 Nov 2008 19:04:59 +0000 (20:04 +0100)
README

diff --git a/README b/README
index 87deb7b2e6458ff20da1b4ca10600b0d4bae6df4..1686de30ba97522195549ea5d901ac23dc5cfe91 100644 (file)
--- a/README
+++ b/README
@@ -20,6 +20,14 @@ real physical devices, not on bridges, vlans, etc. However, vlans can
 be mapped on the bonding device. You can bridge vlan but not add vlans
 on bridges. More complex setups may give false results.
 
+lldpd uses privilege separation to increase its security. Two
+processes, one running as root and doing minimal stuff and the other
+running as an unprivileged user into a chroot doing most of the stuff,
+are cooperating. You need to create a user called "_lldpd" in a group
+"_lldpd" (this can be change with ./configure). You also need to
+create an empty directory "/var/run/lldpd" (it needs to be owned by
+root, not "_lldpd"!).
+
 lldpctl allows to query information collected through the command line.
 
 lldpd also implements CDP (Cisco Discovery Protocol), FDP (Foundry