aboutsummaryrefslogblamecommitdiff
path: root/files/etc/login.access.freebsd
blob: e6667db4f767df86cb3f94b6ba6e0595d549dd8c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                
# Always allow root logins.
+:root: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)