summaryrefslogtreecommitdiffstats
path: root/src/input
diff options
context:
space:
mode:
authorSebastien Braun2010-10-06 15:21:49 +0200
committerSebastien Braun2010-10-07 09:30:24 +0200
commitea97a3d4459e856c62db281a0f12e20452aebefc (patch)
tree93beb8293fcc21c8e8bb1905261af8ac90700e8f /src/input
parentImplement log targets for pvsprivinputd (diff)
downloadpvs-ea97a3d4459e856c62db281a0f12e20452aebefc.tar.gz
pvs-ea97a3d4459e856c62db281a0f12e20452aebefc.tar.xz
pvs-ea97a3d4459e856c62db281a0f12e20452aebefc.zip
Install a pvsprivinputd.conf template into /etc
Diffstat (limited to 'src/input')
-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