From f73ad5abc1e952175b669f7b2192596cb4559abf Mon Sep 17 00:00:00 2001 From: José Bollo Date: Fri, 7 Jun 2019 16:51:04 +0200 Subject: Improve formatting of 'cynara.initial' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3aa631e0348ab2b1a80b5976e19829ffe75fa673 Signed-off-by: José Bollo --- cynara.initial | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'cynara.initial') 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 -- cgit 1.2.3-korg