aboutsummaryrefslogtreecommitdiffstats
path: root/data/etc/sysactions.conf
diff options
context:
space:
mode:
Diffstat (limited to 'data/etc/sysactions.conf')
-rw-r--r--data/etc/sysactions.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/data/etc/sysactions.conf b/data/etc/sysactions.conf
index 72ff13fe6..6ab88b051 100644
--- a/data/etc/sysactions.conf
+++ b/data/etc/sysactions.conf
@@ -48,7 +48,25 @@ action: reboot /sbin/shutdown -r now
action: suspend /etc/acpi/sleep.sh force
action: hibernate /etc/acpi/hibernate.sh force
+# root is allowed to do anything - but it needs to be here explicitly anyway
user: root allow: *
+# members of operator, staff and admin groups should be able to do all
group: operator allow: *
group: staff allow: *
+group: admin allow: *
+group: sys allow: *
+# common "user" groups for "console users" on desktops/laptops
+group: dialout allow: *
+group: disk allow: *
+group: adm allow: *
+group: cdrom allow: *
+group: floppy allow: *
+group: audio allow: *
+group: dip allow: *
+group: plugdev allow: *
+# put in a list of other users and groups here that are allowed or denied etc.
+# e.g.
+# user: myuser allow: *
+# user: another allow: suspend hibernate
+# deny everyone else by default
user: * deny: *