View previous topic :: View next topic |
Author |
Message |
mreff555 Apprentice
Joined: 10 Mar 2011 Posts: 231 Location: Philadelphia
|
Posted: Sun Sep 28, 2014 8:17 pm Post subject: laptop mode. Did I just do something I shouldn't have? |
|
|
I have been trying to get laptop mode tools working. The tutorial here is not all that helpful and somewhat out of date
http://wiki.gentoo.org/wiki/Power_management/HOWTO
Here isthe problem. I want functionality such as being able to press the suspend button and put my machine to sleep. The problem is that I need
root access to do this. My way of getting around this is by changing the GID of /sys/power/state to wheel, and making it writable to the wheel group. Honestly, given the purpose of the wheel group, it seems like that is how it should have been set up.
Is there a better way of doing this on a minimal system?
Am I going to break something?
Is this a huge security flaw?
thanks, |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Mon Sep 29, 2014 12:33 am Post subject: |
|
|
Aren't you using acpid to handle that button? |
|
Back to top |
|
|
mreff555 Apprentice
Joined: 10 Mar 2011 Posts: 231 Location: Philadelphia
|
Posted: Mon Sep 29, 2014 1:09 am Post subject: |
|
|
doesn't seem to work. No errors or anything. Just doesn't work. Does it need to be configured? |
|
Back to top |
|
|
|