diff options
author | Jonas Smedegaard <dr@jones.dk> | 2013-02-12 11:40:50 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2013-02-12 11:43:28 +0100 |
commit | 80f8a7d875cef2d73af2afd9c9031046c71385b2 (patch) | |
tree | a2c4dc0b3d404c85e8a82211656ba58b9b6bfd63 | |
parent | e71b10c73fb930cd4d19d91ba1c6f03119ec015a (diff) |
Rename and split sudo snippet into functional parts.
-rw-r--r-- | sudoers.d/local-sudo-nolecture | 1 | ||||
-rw-r--r-- | sudoers.d/local-sudo-nopasswd | 1 | ||||
-rw-r--r-- | sudoers.d/sudo | 5 |
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 |