login.access (5) - Linux Manuals

login.access: login access control table


login.access - login access control table


The login.access file specifies on which ttys or from which hosts certain users are allowed to login.

At login, the /etc/login.access file is checked for the first entry that matches a specific user/host or user/tty combination. That entry can either allow or deny login access to that user.

Each entry have three fields separated by colon:

If the string EXCEPT is found in either the user or from list, the rest of the list are exceptions to the list before EXCEPT.


If there's a user and a group with the same name, there is no way to make the group match if the user also matches.


The Fn login_access function was written by Wietse Venema. This manual page was written for Heimdal.