aboutsummaryrefslogtreecommitdiff
path: root/packages/debian/preinst
blob: 711924022dca723a88a31cfc803e10047e9bbbe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

addgroup --system ndpisrvd-distributor
adduser --system --no-create-home --shell=/bin/false --group ndpisrvd
adduser --system --no-create-home --shell=/bin/false --group ndpid

cat <<EOF
****************************************************************************
* The user whom may want to access DPI data needs access to:               *
* /run/nDPIsrvd/distributor                                                *
*                                                                          *
* To make it accessible to [USER], type:                                   *
* sudo usermod --append --groups ndpisrvd-distributor [USER]               *
*                                                                          *
* Please note that you might need to re-login to make changes take effect. *
****************************************************************************
EOF