summaryrefslogtreecommitdiff
path: root/kvmd.install
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-02-18 00:17:19 +0300
committerDevaev Maxim <[email protected]>2019-02-18 00:17:19 +0300
commit0f1ec2b1cddf0e4ffbe5b9e1cd251ef6a2349928 (patch)
tree5bf38c788274830416ffafef22c8fc9b950b052d /kvmd.install
parent315842eed7a4b72e21318cb056f82c4a1b7d5547 (diff)
groups management
Diffstat (limited to 'kvmd.install')
-rw-r--r--kvmd.install3
1 files changed, 3 insertions, 0 deletions
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 \