summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-06-07 16:51:04 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2019-06-07 16:51:04 +0200
commitf73ad5abc1e952175b669f7b2192596cb4559abf (patch)
tree2728ac93c15af8ef062a912d21d6f063e45e05d1
parenteca5ddbb5abd00860e76e06d58d5d2f08a2806e5 (diff)
Improve formatting of 'cynara.initial'
Change-Id: I3aa631e0348ab2b1a80b5976e19829ffe75fa673 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--cynara.initial19
1 files changed, 12 insertions, 7 deletions
diff --git a/cynara.initial b/cynara.initial
index 6160474..f2a88f8 100644
--- a/cynara.initial
+++ b/cynara.initial
@@ -1,10 +1,15 @@
+#--------------------------------------------------------------------
# initial database for cynara
-* * * * no always # explicit default rule: NO
-* * @ADMIN * yes always # users of group @ADMIN can do anything
-* * @NONE * no always # users of group @NONE can do nothing
+# format: space/tab separated fields
+# fields: CLIENT SESSION USER PERMISSION ACTION EXPIRATION
+#--------------------------------------------------------------------
+* * * * no forever # explicit default rule: NO
+* * @ADMIN * yes forever # users of group @ADMIN can do anything
+* * @NONE * no forever # users of group @NONE can do nothing
-# root is in the group @ADMIN
-* * 0 * @:%c:%s:@ADMIN:%p always
-# Client of label System are in the group @ADMIN
-System * * * @:%c:%s:@ADMIN:%p always
+#--------------------------------------------------------------------
+# User "0" and clients "System" is in the group "@ADMIN"
+#--------------------------------------------------------------------
+* * 0 * @:%c:%s:@ADMIN:%p forever
+System * * * @:%c:%s:@ADMIN:%p forever