Rework the initial definitions for agent @
authorJose Bollo <jose.bollo@iot.bzh>
Fri, 24 May 2019 14:49:02 +0000 (16:49 +0200)
committerJose Bollo <jose.bollo@iot.bzh>
Fri, 24 May 2019 15:06:43 +0000 (17:06 +0200)
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
cynara.initial

index aa58c4b..6160474 100644 (file)
@@ -1,4 +1,10 @@
 # initial database for cynara
-System * * * yes always
-User * * * yes always
+* * * * 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
+
+# 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