mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-10-29 01:12:22 +00:00
* fixed some SonarCloud complaints * added more systemd CI tests * fixed debian package scripts to obey remove/purge * changed `chmod_chown()` error handling Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
18 lines
895 B
Bash
Executable File
18 lines
895 B
Bash
Executable File
#!/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
|