commands – acl diff
List the differences between two versions of an acl.
Usage
acl diff name [before [after]]
where
name | of acl whose differences to list. |
before | change id, or relative change index, as listed by acl changes. Default is -1 . |
after | change id, or relative change index, as listed by acl changes. Default is 0 . |
read on name
Examples
List the differences between the previous and current versions of an acl
BeyondCron % acl diff /examples
- demo READ EXECUTE ENABLE WRITE + demo READ EXECUTE ENABLE
List the differences between earlier versions of an acl
BeyondCron % acl changes /examples
Time Change Action User Host ------------------- ------- -- ------- ----- ---------------- 14:26:09 26/09/2017 66cfe94 0 Updated admin demo.example.com 10:57:22 26/09/2017 bf3f000 -1 Updated admin demo.example.com 10:55:28 26/09/2017 7a646c7 -2 Created admin demo.example.com
BeyondCron % acl diff /examples 7a646c7 bf3f000
+ /examples everyone READ
List the differences between the first and current version of an acl
BeyondCron % acl diff /examples -2
- demo READ EXECUTE ENABLE WRITE + demo READ EXECUTE ENABLE + everyone READ