The /etc/security/login.cfg file (see sample image below) is an ASCII file that contains stanzas of configuration information for login and user authentication.
Each stanza has a name, followed by a : (colon). Attributes are in the form Attribute=Value. Each attribute ends with a new-line character, and each stanza ends with an additional new-line character. There are three types of stanzas.
- port stanza Defines the login characteristics of ports.
- authentication stanza Defines the authentication methods for users.
- user configuration stanza Defines programs that change user attributes (usw).
Contents of /etc/security/login.cfg file