Add sudoers

remotes/origin/HEAD
Dustin 2016-12-04 23:56:16 -06:00
parent 863e6fed1d
commit 95caaa8b06
4 changed files with 11 additions and 0 deletions

1
etc/sudoers.d/05-editor Normal file
View File

@ -0,0 +1 @@
Defaults env_keep += EDITOR

View File

@ -0,0 +1,3 @@
# Allow all Domain Admins to execute any command as any user
%PYROCUFFLINK\\Domain\ Admins ALL=(ALL) ALL
%domain\ admins ALL=(ALL) ALL

3
etc/sudoers.d/70-portage Normal file
View File

@ -0,0 +1,3 @@
Defaults!PORTAGE env_keep += "ACCEPT_KEYWORDS FEATURES MAKEOPTS USE KV_OUT_DIR"
%portage ALL = (root) NOPASSWD: /usr/bin/emerge

View File

@ -0,0 +1,4 @@
Cmnd_Alias PM_SUSPEND = /usr/sbin/pm-hibernate, /usr/sbin/pm-powersave, \
/usr/sbin/pm-suspend, /usr/sbin/pm-suspend-hybrid
%powerdev ALL = (root) NOPASSWD: PM_SUSPEND