summaryrefslogtreecommitdiff
path: root/samples/dtail.json.sample
diff options
context:
space:
mode:
authorPaul Bütow <pbuetow@mimecast.com>2020-01-26 11:26:53 +0000
committerPaul Bütow <pbuetow@mimecast.com>2020-02-07 13:31:15 +0000
commit0945da8dfefcbb723eecea0e5f4eafff63398253 (patch)
treef06dab4d2bf21d25d176b23d5baeca588d27f5d7 /samples/dtail.json.sample
parent2a8e5de265a0e0a31a5834909d6879f5c9941467 (diff)
Introduce drun command, refactor code to use context package
Diffstat (limited to 'samples/dtail.json.sample')
-rw-r--r--samples/dtail.json.sample12
1 files changed, 7 insertions, 5 deletions
diff --git a/samples/dtail.json.sample b/samples/dtail.json.sample
index 99c0a73..6b713e8 100644
--- a/samples/dtail.json.sample
+++ b/samples/dtail.json.sample
@@ -10,16 +10,18 @@
"HostKeyBits" : 2048,
"Permissions": {
"Default": [
- "^/.*$"
+ "readfiles:^/.*$",
+ "runcommands:!^/.*$"
],
"Users": {
"pbuetow": [
- "^/.*$"
+ "readfiles:^/.*$"
+ "runcommands:^/.*$"
],
"jblake": [
- "^/tmp/foo.log$",
- "^/.*$",
- "!^/tmp/bar.log$"
+ "readfiles:^/tmp/foo.log$",
+ "readfiles:^/.*$",
+ "readfiles:!^/tmp/bar.log$"
]
}
}