/etc/security/access.conf (help)

From RaySoft

The /etc/security/access.conf file specifies (user/group, host), (user/group, network/netmask) or (user/group, tty) combinations for which a login will be either accepted or refused.[1]

When someone logs in, the file access.conf is scanned for the first entry that matches the (user/group, host) or (user/group, network/netmask) combination, or, in case of non-networked logins, the first entry that matches the (user/group, tty) combination. The permissions field of that table entry determines whether the login will be accepted or refused.[1]

Documentation

Examples

# User "root" should be able to have access from all sources.
+ : root : ALL

# All other users should be denied to get access from all sources.
- : ALL : ALL

References

  1. 1.0 1.1 man 5 'nscd.conf'