summaryrefslogtreecommitdiff
path: root/osdep/LinuxDropPrivileges.cpp
AgeCommit message (Collapse)Author
2017-02-15Integrate and test linux privilege drop code (from contributor PR). It works ↵Adam Ierymenko
now if a "zerotier-one" user is present on a Linux system. Does everything automagically.
2016-11-08Fix chown on /var/lib/zerotier-oneTsukasa Hiiragi
2016-10-16Run as nonroot user on Linux (with CAP_NET_ADMIN and CAP_NET_RAW added).Michał Zieliński
- ZT will only drop root privileges if zerotier-one user exists. It is created by Debian postinst script - in other cases the user has to be created by administrator. - Linux >=4.3 with ambient capabilities is required, otherwise ZT will silently - "-U" option now also disables privileges dropping