aboutsummaryrefslogtreecommitdiff
path: root/files/etc/login.access.freebsd
blob: c2d6fc1d40b9d03aefac3db93694240dc28739c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Always allow root logins.
+:root:ALL
+:${icinga_local_user}:ALL

$(if [ -n "${login_access_groups:-}" ] || [ -n "${login_access_users:-}" ]; then
  printf -- '-:ALL EXCEPT '
if [ -n "${login_access_groups:-}" ]; then
  printf    '(%s) ' ${login_access_groups}
fi
if [ -n "${login_access_users:-}" ]; then
  printf    '%s ' ${login_access_users}
fi
  printf    ':ALL\n'
fi)