]> git.puffer.fish Git - matthieu/frr.git/commit
lib: privs: always look up VTY group
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 8 Nov 2016 18:42:01 +0000 (19:42 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 9 Nov 2016 12:40:37 +0000 (13:40 +0100)
commite227e24231b4a7ef892ccd8ad11c424c6a2d0c43
treefd2d97456b8d1ada5ca6cbb6a574288f3b2c68f0
parent2da59394ec858ae5aecf2b26ab8d9fefdae17bb8
lib: privs: always look up VTY group

Even if we're running without user switch, we should still try to honor
the VTY group.  This applies both to watchquagga (which always runs as
root) as well as "no-userswitch" configurations for other daemons.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/privs.c