mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-16 16:29:23 +01:00
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:
parent
727df46808
commit
07ae3bbef6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user