commands – host acl list
List host ACLs for a specific user/role or all host ACLs.
Usage
host acl list [self|user|role|change]
where
self | list host ACLs that apply to the user running this command. |
user|role | list host ACLs that apply to to the specified user or role. |
change | id of host acl as listed by host acl changes, or relative change index. |
If neither a user, role, self or change is specified, list all host ACLs. |
read on /_beyondcron/acl/hosts
Examples
List all host ACLs
BeyondCron % host acl list
User/Role Pattern --------- ----------------------- admin root@* admin www@* admin root@localhost developer regex:root@devirt\d{1,2} developer regex:www@devsvr\d{1,2}
List host ACLs for the user/role developer
BeyondCron % host acl list developer
User/Role Pattern --------- ------------------------ developer regex:root@devirt\d{1,2} developer regex:www@devsvr\d{1,2}
List details of an earlier version of the host acls
BeyondCron % host acl changes
Time Change Action User Host ------------------- -------- -- ------- ------ ---------------- 18:10:36 today 41ae9044 0 Updated admin demo.example.com 18:10:24 today ea468c57 -1 Updated admin demo.example.com 18:10:12 today 1e1193d5 -2 Updated admin demo.example.com 18:09:48 today db75395c -3 Updated admin demo.example.com 10:51:42 23/01/2020 23956373 -4 Updated admin demo.example.com 09:19:13 23/01/2020 90801c87 -5 Updated admin demo.example.com 10:25:12 22/01/2020 967b29b4 -6 Import server demo.example.com
BeyondCron % host acl list 90801c87
User/Role Pattern --------- ----------- admin *@*
List details of an earlier version of the host acls using a relative change index
Versions of host acls can also be referenced using their relative change index, with 0 being the current version, -1 being the previous version, etc…
BeyondCron % host acl list -5
User/Role Pattern --------- ------- admin *@*