shell-things/etc/sudoers.d/hibernate

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