summaryrefslogtreecommitdiff
path: root/configs/os
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-04-05 21:33:41 +0300
committerMaxim Devaev <[email protected]>2022-04-05 21:33:41 +0300
commit0353e0c83289dec12ce4b293c327cc5bf86de4a8 (patch)
treea99463697c532c718c1f22ae6b7e1094c836ac43 /configs/os
parent5be17cb75616dbcffee384ba65df74684c7d1fca (diff)
pst remount helper
Diffstat (limited to 'configs/os')
-rw-r--r--configs/os/sudoers/v0-hdmi1
-rw-r--r--configs/os/sudoers/v0-hdmiusb1
-rw-r--r--configs/os/sudoers/v2-hdmi1
-rw-r--r--configs/os/sudoers/v2-hdmiusb1
-rw-r--r--configs/os/sudoers/v3-hdmi1
-rw-r--r--configs/os/sysusers.conf2
6 files changed, 7 insertions, 0 deletions
diff --git a/configs/os/sudoers/v0-hdmi b/configs/os/sudoers/v0-hdmi
new file mode 100644
index 00000000..bb549dc8
--- /dev/null
+++ b/configs/os/sudoers/v0-hdmi
@@ -0,0 +1 @@
+kvmd-pst ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-pst-remount
diff --git a/configs/os/sudoers/v0-hdmiusb b/configs/os/sudoers/v0-hdmiusb
new file mode 100644
index 00000000..bb549dc8
--- /dev/null
+++ b/configs/os/sudoers/v0-hdmiusb
@@ -0,0 +1 @@
+kvmd-pst ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-pst-remount
diff --git a/configs/os/sudoers/v2-hdmi b/configs/os/sudoers/v2-hdmi
index cc50dc9f..f5d7f5b3 100644
--- a/configs/os/sudoers/v2-hdmi
+++ b/configs/os/sudoers/v2-hdmi
@@ -1,2 +1,3 @@
kvmd ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-otgmsd-unlock
kvmd ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-otgmsd-remount
+kvmd-pst ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-pst-remount
diff --git a/configs/os/sudoers/v2-hdmiusb b/configs/os/sudoers/v2-hdmiusb
index cc50dc9f..f5d7f5b3 100644
--- a/configs/os/sudoers/v2-hdmiusb
+++ b/configs/os/sudoers/v2-hdmiusb
@@ -1,2 +1,3 @@
kvmd ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-otgmsd-unlock
kvmd ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-otgmsd-remount
+kvmd-pst ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-pst-remount
diff --git a/configs/os/sudoers/v3-hdmi b/configs/os/sudoers/v3-hdmi
index cc50dc9f..f5d7f5b3 100644
--- a/configs/os/sudoers/v3-hdmi
+++ b/configs/os/sudoers/v3-hdmi
@@ -1,2 +1,3 @@
kvmd ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-otgmsd-unlock
kvmd ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-otgmsd-remount
+kvmd-pst ALL=(ALL) NOPASSWD: /usr/bin/kvmd-helper-pst-remount
diff --git a/configs/os/sysusers.conf b/configs/os/sysusers.conf
index df4d768d..fefb84f4 100644
--- a/configs/os/sysusers.conf
+++ b/configs/os/sysusers.conf
@@ -1,10 +1,12 @@
g kvmd - -
+g kvmd-pst - -
g kvmd-ipmi - -
g kvmd-vnc - -
g kvmd-nginx - -
g kvmd-janus - -
u kvmd - "PiKVM - The main daemon" -
+u kvmd-pst - "PiKVM - Persistent storage" -
u kvmd-ipmi - "PiKVM - IPMI to KVMD proxy" -
u kvmd-vnc - "PiKVM - VNC to KVMD/Streamer proxy" -
u kvmd-nginx - "PiKVM - HTTP entrypoint" -