mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +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
|
||||
# passwordlessly
|
||||
%sudo ALL = NOPASSWD: /usr/sbin/hibernate
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user