wok diff enlightenment/stuff/etc/enlightenment/sysactions.conf @ rev 17543

Up busybox (1.23.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 27 16:55:03 2015 +0100 (2015-01-27)
parents 09cc4fd32565
children
line diff
     1.1 --- a/enlightenment/stuff/etc/enlightenment/sysactions.conf	Mon Jan 28 21:25:08 2008 +0100
     1.2 +++ b/enlightenment/stuff/etc/enlightenment/sysactions.conf	Tue Jan 27 16:55:03 2015 +0100
     1.3 @@ -3,7 +3,7 @@
     1.4  # This is a system configuration for allowing or denying certain users or
     1.5  # groups to be able to do certain actions that involve system restricted
     1.6  # actions such as halt, reboot, suspend, hibernate etc.
     1.7 -# 
     1.8 +#
     1.9  # This file is read in order from top to bottom - the first rule to MATCH
    1.10  # will be used for a user or a group, and nothing after that is read.
    1.11  #
    1.12 @@ -11,7 +11,7 @@
    1.13  # Any action definitons after a rule match has been found will be ignored.
    1.14  # This allows actions to be re-defined for different user groups, so matches
    1.15  # so the command for an action can change for matches to the rules later on.
    1.16 -# 
    1.17 +#
    1.18  # Any user or group NOT matched by an allow or a deny will be ALLOWED to
    1.19  # perform the action by default (system administrators should be aware of
    1.20  # this and implement whatever policies they see fit). Generally speaking
    1.21 @@ -19,7 +19,7 @@
    1.22  # to perform these actions, thus the default of allow. For multi-user systems
    1.23  # the system administrator is considerd capable enough to restrict what they
    1.24  # see they need to.
    1.25 -# 
    1.26 +#
    1.27  # A WARNING to admins: do NOT allow access for users to this system remotely
    1.28  # UNLESS you fully trust them or you have locked down permissions to halt/reboot
    1.29  # suspend etc. here first. You have been warned.
    1.30 @@ -41,12 +41,12 @@
    1.31  # etc.
    1.32  #
    1.33  # user and group name can use glob matches (* == all for example) like the
    1.34 -# shell. as can action names allowed or denied. 
    1.35 +# shell. as can action names allowed or denied.
    1.36  
    1.37 -action:   halt      /sbin/halt
    1.38 -action:   reboot    /sbin/reboot
    1.39 -#action:   suspend   /etc/acpi/sleep.sh force
    1.40 -#action:   hibernate /etc/acpi/hibernate.sh force
    1.41 +action:   halt      poweroff
    1.42 +action:   reboot    reboot
    1.43 +action:   suspend   /usr/sbin/pm-suspend
    1.44 +action:   hibernate /usr/sbin/pm-hibernate
    1.45  
    1.46  # root is allowed to do anything - but it needs to be here explicitly anyway
    1.47  user:     root      allow: *
    1.48 @@ -70,4 +70,4 @@
    1.49  # user:     another    allow:  suspend hibernate
    1.50  # deny everyone else by default
    1.51  user:     *         deny:  *
    1.52 -user:     hacker    allow: *
    1.53 +user:     tux       allow: *