Skip to main content

Investigate why a user account was locked

Find out why a COINS ERP+ user account was locked using the User Function Log and the security.log file.

When a COINS ERP+ user account is locked, two tools can help you identify the reason: the User Function Log and the security.log file.

📌Note: User accounts are typically locked due to too many failed login attempts (controlled by system parameter SY/LOGATTEM) or extended account inactivity (controlled by system parameter SY/LKUNUSED).

Check the User Function Log

The User Function Log records activity on a user's account and is available directly from User Workbench.

  1. Go to System, then select User Maintenance > User Workbench.

  2. Search for and open the relevant user record.

  3. Select the System tab.

  4. Open User Function Log to review account activity.


Check the security.log file

The log file security.log contains details of user activity and may help identify the reasons for the user lockouts.

The security.log file is stored here on the file system:

$BASE/var/diag/security.log

Before you can view the contents you will need to ensure the SY Parameter

Enable the security log

  1. Locate the WEBLOG system parameter in COINS ERP+.

  2. Append the following value to the parameter:

,SECLOG=$BASE/var/diag/security.log
  1. Save the parameter.

📌Note: Once enabled, the log is stored at $BASE/var/diag/security.log on the server.

View the security log

  1. Go to System > System Enquiries, then select Log File Viewer.

  2. Select the SECLOG entry in the drop down menu and the results will be displayed on screen

Did this answer your question?