summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-23 13:43:45 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-23 13:43:45 +0100
commit91c003100ef2ac5d01d7a8d64e0b2b88b317a18a (patch)
tree67b17a722d6e455383ebf29bb729a283d21da073 /data
parent3d490704cabe33bee6b6c757f752846cdbba31fe (diff)
downloadenlightenment-91c003100ef2ac5d01d7a8d64e0b2b88b317a18a.tar.gz
e system - allow the per system permit/deny rules to work
Diffstat (limited to 'data')
-rw-r--r--data/etc/system.conf19
1 files changed, 15 insertions, 4 deletions
diff --git a/data/etc/system.conf b/data/etc/system.conf
index 6f1355537c..f616976019 100644
--- a/data/etc/system.conf
+++ b/data/etc/system.conf
@@ -24,16 +24,27 @@
# FORMAT:
#
-# user: username allow: halt reboot suspend hibernate
+# user: username allow: rfkill
# group: groupname deny: *
# group: * deny: *
-# user: * allow: suspend
-# user: billy allow: halt reboot
-# group: staff deny: halt suspend hibernate
+# user: * allow: power
+# user: billy allow: l2ping
+# group: staff deny: backlight
# ... etc. ...
#
# user and group name can use glob matches (* == all for example) like the
# shell. as can action names allowed or denied.
+#
+# the system to allow at the end is a system name or * for "everything". this
+# is a glob like filenames. systems supported:
+#
+# backlight - core backlight device that maps to a laptop screen or keyboard
+# ddc - external monitor controls like backlight, color correction etc
+# storage - handling of removable media devices
+# power - direct shutdown/reboot/suspend/resume/halt commands
+# rfkill - rf controls for wireless adaptors
+# l2ping - bluetooth pings for paired devices (no payload control)
+# cpufreq - change cpu frequency, governor and similar power controls
# root is allowed to do anything - but it needs to be here explicitly anyway
user: root allow: *