dip

old school recipes for janitorial snafu.
git clone git://git.ricketyspace.net/dip.git
Log | Files | Refs

commit a1575b3ebf1b02c861d0eef800a065c00db5af97
parent 22b6affea755d7a8bf4cf2577662f44fe214b430
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun,  6 May 2018 14:49:37 +0000

distros/debian: Add etc/sudoers.d/s

Diffstat:
distros/debian/etc/sudoers.d/s | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)

diff --git a/distros/debian/etc/sudoers.d/s b/distros/debian/etc/sudoers.d/s @@ -0,0 +1,22 @@ +# Host alias specification + +# User alias specification +User_Alias CRYPTERS = s +User_Alias SANDBOXERS = s +User_Alias SUPER_COWS = s + +# Cmnd alias specification +Cmnd_Alias CRYPT = /sbin/losetup, /sbin/cryptsetup, \ + /sbin/mkfs.ext4, /bin/mount, /bin/umount, \ + /usr/bin/tomb +Cmnd_Alias SANDBOX = /usr/sbin/debootstrap, /usr/bin/systemd-nspawn, \ + /bin/machinectl, /usr/bin/docker + +# User privilege specification +root ALL=(ALL:ALL) ALL + +# Allow super cows to execute any command +SUPER_COWS ALL=(ALL:ALL) ALL + +CRYPTERS ALL = NOPASSWD: CRYPT +SANDBOXERS ALL = NOPASSWD: SANDBOX