etc/sudoers.d/hibernate: allow suspend & change group to plugdev

It seemed like a suitable one from the default groups Debian creates.
This commit is contained in:
Aminda Suomalainen 2019-02-18 20:07:36 +02:00
parent 727df46808
commit 07ae3bbef6
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67

View File

@ -1,3 +1,5 @@
# Allow everyone in the sudo group to hibernate # Allow everyone in the plugdev group to hibernate passwordlessly
# passwordlessly # Yes, I am abusing the default Debian groups :)
%sudo ALL = NOPASSWD: /usr/sbin/hibernate %plugdev ALL = NOPASSWD: /usr/sbin/hibernate
# suspend
%plugdev ALL = NOPASSWD: /usr/sbin/s2ram