shell-things/etc/sudoers.d/hibernate

8 lines
240 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
# vim: filetype=sudoers