Explore Help
Sign In
mirror
/
devilutionX-ZeroTierOne
mirror of https://github.com/diasurgical/ZeroTierOne.git
1
0
Fork
You've already forked devilutionX-ZeroTierOne
0
Code Issues Projects Releases Wiki Activity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4192 Commits
2 Branches
0 Tags
159 MiB
Tree: 9001ab5858
devx-1.4.0
master
Branches Tags
${ item.name }
Create tag ${ searchTerm }
Create branch ${ searchTerm }
from '9001ab5858'
${ noResults }
devilutionX-ZeroTierOne/debian/postinst

12 lines
218 B
Raw Normal View History Unescape Escape

Run as nonroot user on Linux (with CAP_NET_ADMIN and CAP_NET_RAW added). - 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
10 years ago
#!/bin/sh -e
case "$1" in
configure)
Do not add zerotier-one user if it does not exist (Debian)
8 years ago
if ! id zerotier-one >>/dev/null 2>&1; then
adduser --system --group --home /var/lib/zerotier-one --no-create-home zerotier-one
fi
Run as nonroot user on Linux (with CAP_NET_ADMIN and CAP_NET_RAW added). - 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
10 years ago
;;
esac
#DEBHELPER#
Powered by Gitea Version: 1.16.7 Page: 85ms Template: 5ms
English
bahasa Indonesia Deutsch English español français italiano latviešu magyar nyelv Nederlands polski Português de Portugal português do Brasil suomi svenska Türkçe čeština ελληνικά български русский српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Website Go1.18.1