I have been installing and configuring Debian on a laptop recently and got most stuff working except ALSA.
But I'm wondering about permissions to put the computer into standby, it's done with the command 'echo -n "standby" > /sys/power/state', and you have to have write permission to the /sys/power/state file to be able to do it.
The file is by default set to owner "root" group "root" and "-rw-r--r--/644". So what would be the best way to let users be able to do this command? Should I add them to the root group and put write permission to "Groups"? Should I put write permission for "Others"? Should I create a new group called "X" and change the group of this file to "X" and give writing permission to "Groups"?
I don't really know what would be the ideal way, that's why I'm asking.
