summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/sudoers/test24.in
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sudoers/regress/sudoers/test24.in')
-rw-r--r--plugins/sudoers/regress/sudoers/test24.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/sudoers/regress/sudoers/test24.in b/plugins/sudoers/regress/sudoers/test24.in
new file mode 100644
index 0000000..3fc3bbc
--- /dev/null
+++ b/plugins/sudoers/regress/sudoers/test24.in
@@ -0,0 +1,6 @@
+# Test parsing of CHROOT and CWD syntax
+Defaults runcwd=~
+Defaults runchroot=/
+#
+user0 ALL = CHROOT=/var/www CWD=/htdocs /bin/ksh
+user1 ALL = CWD=~root /usr/bin/id, CWD=/tmp /bin/ls