[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4 Files Reference

portlog File


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


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:

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.


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.


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

   locktime = 723848478
   unsuccessful_login_times = 

Implementation Specifics

This file is part of Base Operating System (BOS) Runtime.


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

Related Information

The chsec command, login command, su command.

The loginfailed subroutine, loginrestrictions subroutine.

Security Administration in AIX Version 4.3 System Management Guide: Operating System and Devices.

[ Previous | Next | Contents | Glossary | Home | Search ]