diff options
author | Devaev Maxim <[email protected]> | 2019-02-18 00:17:19 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-02-18 00:17:19 +0300 |
commit | 0f1ec2b1cddf0e4ffbe5b9e1cd251ef6a2349928 (patch) | |
tree | 5bf38c788274830416ffafef22c8fc9b950b052d | |
parent | 315842eed7a4b72e21318cb056f82c4a1b7d5547 (diff) |
groups management
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | kvmd.install | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -35,6 +35,7 @@ depends=( v4l-utils nginx-mainline openssl + raspberrypi-io-access ) optdepends=( dkms diff --git a/kvmd.install b/kvmd.install index 3ba475a0..7b5c9313 100644 --- a/kvmd.install +++ b/kvmd.install @@ -1,5 +1,8 @@ post_install() { id kvmd &>/dev/null || useradd -r -c "The main Pi-KVM daemon" -s /sbin/nologin kvmd + groupmems -g gpio -a kvmd + groupmems -g uucp -a kvmd + groupmems -g systemd-journal -a kvmd chown root:kvmd \ /usr/share/kvmd/configs.default/kvmd/htpasswd \ |