shell-things/etc/sudoers.d/hibernate
Mikaela Suomalainen 07ae3bbef6
etc/sudoers.d/hibernate: allow suspend & change group to plugdev
It seemed like a suitable one from the default groups Debian creates.
2019-02-18 20:07:36 +02:00

6 lines
215 B
Plaintext

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