summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/sudoers/test6.in
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sudoers/regress/sudoers/test6.in')
-rw-r--r--plugins/sudoers/regress/sudoers/test6.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/sudoers/regress/sudoers/test6.in b/plugins/sudoers/regress/sudoers/test6.in
new file mode 100644
index 0000000..e804571
--- /dev/null
+++ b/plugins/sudoers/regress/sudoers/test6.in
@@ -0,0 +1,15 @@
+# Check that uids work in per-user and per-runas Defaults
+Defaults:#123 set_home
+Defaults>#123 set_home
+Defaults:"#123" set_home
+Defaults>"#123" set_home
+
+# Check that uids work in a Command_Spec
+#0 ALL = ALL
+#0 ALL = (#0 : #0) ALL
+"#0" ALL = ALL
+"#0" ALL = ("#0" : "#0") ALL
+
+# Check that gids work in a Command_Spec
+%#0 ALL = ALL
+"%#0" ALL = ALL