summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/input/CMakeLists.txt5
-rw-r--r--src/input/pvsprivinputd.conf14
2 files changed, 19 insertions, 0 deletions
diff --git a/src/input/CMakeLists.txt b/src/input/CMakeLists.txt
index a2e6fda..398ca55 100644
--- a/src/input/CMakeLists.txt
+++ b/src/input/CMakeLists.txt
@@ -99,6 +99,11 @@ if(UNIX)
else()
message(STATUS "PolicyKit integration: disabled")
endif()
+
+ # Install a pvsprivinputd.conf template
+ install(FILES pvsprivinputd.conf
+ DESTINATION /etc
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
endif()
add_library(
diff --git a/src/input/pvsprivinputd.conf b/src/input/pvsprivinputd.conf
new file mode 100644
index 0000000..52df206
--- /dev/null
+++ b/src/input/pvsprivinputd.conf
@@ -0,0 +1,14 @@
+;; Lines starting with `;' are comments.
+;;
+;; socketpath:
+;; Where pvsprivinputd should put its listening socket.
+socketpath = /tmp/pvsprivinputd.sock
+
+;; privileged-users:
+;; Comma-separated list of users that are allowed to run privileged actions
+privileged-users = root
+
+;; privileged-groups:
+;; Comma-separated list of user groups that are allowed to run privileged actions
+; privileged-groups = wheel
+ \ No newline at end of file