portlog File

Purpose

Contains per-port unsuccessful login attempt information and port locks.

Description

The /etc/security/portlog file is an ASCII file that contains stanzas of per port unsuccessful login attempt information and port locks. Each stanza has a name followed by a : (colon) that defines the port name. 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.

The attributes in the stanzas are as follows:

Attribute Definition
locktime Defines the time the port was locked in seconds since the epoch (zero time, January 1, 1970). This value is a decimal integer string.
unsuccessful_login_times Lists the times of unsuccessful login attempts in seconds since the epoch. The list contains decimal integer strings separated by commas.

These attributes do not have default values. If a value is not specified, the attribute is ignored.

Security

Access Control: This file grants read access to the root user and members of the security group, and write access only to the root user. Access for other users and groups depends upon the security policy of the operating system.

Examples

A typical record looks like the following example for the /dev/tty0 port:

/dev/tty0:
   locktime = 723848478
   unsuccessful_login_times = 
723848430,723848450,723848478

Files

Item Description
/etc/security/portlog Specifies the path to the file.
/etc/security/login.cfg Contains configuration information for login and user authentication.