diff options
Diffstat (limited to 'files/etc/login.access.freebsd')
-rw-r--r-- | files/etc/login.access.freebsd | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/files/etc/login.access.freebsd b/files/etc/login.access.freebsd index c2d6fc1..ee83dd5 100644 --- a/files/etc/login.access.freebsd +++ b/files/etc/login.access.freebsd @@ -2,7 +2,10 @@ +:root:ALL +:${icinga_local_user}:ALL -$(if [ -n "${login_access_groups:-}" ] || [ -n "${login_access_users:-}" ]; then +$(if [ -n "${acmeproxy_client_group:-}" ]; then + echo "+:(${acmeproxy_client_group}):ALL" +fi +if [ -n "${login_access_groups:-}" ] || [ -n "${login_access_users:-}" ]; then printf -- '-:ALL EXCEPT ' if [ -n "${login_access_groups:-}" ]; then printf '(%s) ' ${login_access_groups} |