aboutsummaryrefslogtreecommitdiff
path: root/admin/sudo/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'admin/sudo/test.sh')
-rw-r--r--admin/sudo/test.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/admin/sudo/test.sh b/admin/sudo/test.sh
new file mode 100644
index 000000000..9d20c085b
--- /dev/null
+++ b/admin/sudo/test.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+case "$1" in
+ sudo)
+ sudo --version | grep "$2"
+ ;;
+esac