summaryrefslogtreecommitdiff
path: root/sudoers.d
diff options
context:
space:
mode:
Diffstat (limited to 'sudoers.d')
-rw-r--r--sudoers.d/local-sudo-nolecture1
-rw-r--r--sudoers.d/local-sudo-nopasswd1
-rw-r--r--sudoers.d/sudo5
3 files changed, 2 insertions, 5 deletions
diff --git a/sudoers.d/local-sudo-nolecture b/sudoers.d/local-sudo-nolecture
new file mode 100644
index 0000000..a56c1e4
--- /dev/null
+++ b/sudoers.d/local-sudo-nolecture
@@ -0,0 +1 @@
+Defaults:%sudo !lecture
diff --git a/sudoers.d/local-sudo-nopasswd b/sudoers.d/local-sudo-nopasswd
new file mode 100644
index 0000000..3d7cdfe
--- /dev/null
+++ b/sudoers.d/local-sudo-nopasswd
@@ -0,0 +1 @@
+%sudo ALL=(ALL:ALL) NOPASSWD: ALL
diff --git a/sudoers.d/sudo b/sudoers.d/sudo
deleted file mode 100644
index a157744..0000000
--- a/sudoers.d/sudo
+++ /dev/null
@@ -1,5 +0,0 @@
-Defaults:SUDO !lecture
-
-User_Alias SUDO = %sudo
-
-SUDO ALL = (ALL) NOPASSWD: ALL