]> git.puffer.fish Git - matthieu/frr.git/commitdiff
*: Move sudoers file into tools
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 4 May 2017 16:06:11 +0000 (12:06 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 4 May 2017 16:06:11 +0000 (12:06 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
cumulus/etc/sudoers.d/frr_sudoers [deleted file]
tools/etc/sudoers.d/frr_sudoers [new file with mode: 0644]

diff --git a/cumulus/etc/sudoers.d/frr_sudoers b/cumulus/etc/sudoers.d/frr_sudoers
deleted file mode 100644 (file)
index 4a42fb2..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-Defaults env_keep += VTYSH_PAGER
-
-# Allow user in  group frr to run vtysh show commands
-# without a password by uncommenting the "%frr" line below.
-
-# Subshell commands need to be disallowed, including
-# preventing the user passing command line args like 'start-shell'
-# Since vtysh allows minimum non-conflicting prefix'es, that means
-# anything beginning with the string "st" in any arg.  That's a bit
-# restrictive.
-# Instead, use NOEXEC, to prevent any exec'ed commands.
-
-Cmnd_Alias  VTY_SHOW   = /usr/bin/vtysh -c show *
-# %frr ALL = (root) NOPASSWD:NOEXEC: VTY_SHOW
-
diff --git a/tools/etc/sudoers.d/frr_sudoers b/tools/etc/sudoers.d/frr_sudoers
new file mode 100644 (file)
index 0000000..4a42fb2
--- /dev/null
@@ -0,0 +1,15 @@
+Defaults env_keep += VTYSH_PAGER
+
+# Allow user in  group frr to run vtysh show commands
+# without a password by uncommenting the "%frr" line below.
+
+# Subshell commands need to be disallowed, including
+# preventing the user passing command line args like 'start-shell'
+# Since vtysh allows minimum non-conflicting prefix'es, that means
+# anything beginning with the string "st" in any arg.  That's a bit
+# restrictive.
+# Instead, use NOEXEC, to prevent any exec'ed commands.
+
+Cmnd_Alias  VTY_SHOW   = /usr/bin/vtysh -c show *
+# %frr ALL = (root) NOPASSWD:NOEXEC: VTY_SHOW
+