diff options
| author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2016-10-21 13:37:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-21 13:37:27 -0700 |
| commit | ea1f2762cfbdcb691cb22bf986d7373fa8302a8b (patch) | |
| tree | 579b6ae0f62cb47efc2e67cd478981a52f40bac0 /debian | |
| parent | 0f3095f1300b44d07ccf4b8e595e7de292eb3a5b (diff) | |
| parent | 344a25c133ab8195d8b16bb922c951ca6d604057 (diff) | |
| download | infinitytier-ea1f2762cfbdcb691cb22bf986d7373fa8302a8b.tar.gz infinitytier-ea1f2762cfbdcb691cb22bf986d7373fa8302a8b.zip | |
Merge pull request #401 from zielmicha/dev
Run as nonroot user on Linux (with CAP_NET_ADMIN and CAP_NET_RAW added).
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/postinst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 00000000..ecd148a4 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,9 @@ +#!/bin/sh -e + +case "$1" in + configure) + adduser --system --group --home /var/lib/zerotier-one --no-create-home zerotier-one + ;; +esac + +#DEBHELPER# |
