Operations

IBM i System Hardening Guide

Fix the exposed control without creating the next outage. Start with the lowest-risk changes, test anything that can break an application, and recheck the system after every move.

Last verified

Change One IBM i Control Without Breaking Production

  1. Record the Starting Point

    Save the current value, authority, rule, or product setting before changing it.

  2. Run the Real Work in Test

    Exercise sign-on, batch, integrations, month-end work, and the network routes the control can affect.

  3. Set the Rollback Trigger

    Name the failure that stops the release and the exact setting or authority that restores the old state.

  4. Recheck the Control

    Confirm the gap closed, the application still works, and the audit record proves both results.

Tier 1: Immediate, Low-Risk Changes

Set the Password Rules

Use QPWDEXPITV and QPWDRULES to stop old or weak passwords from staying in service.

Limit Failed Sign-Ons

Set QMAXSIGN and QMAXSGNACN so repeated attempts create a real stop.

Reset Powerful Profiles

Change default or long-unchanged passwords on profiles with special authority.

Check Object Restore Rules

Confirm QALWOBJRST is not left at *ALL before the next restore brings risk back.

Tier 2: Requires Testing, High Value

Tighten *PUBLIC Authority

Test production libraries and files against the real application workload before removing access.

Control Exit Points

Run FTP, ODBC, DDM, and remote command rules in monitor mode before enforcement.

Raise QSECURITY

Use failure auditing and a test IPL before moving a production system to level 40 or 50.

Hardening priority matrix

ChangeBreak RiskSecurity Value
Enforce password rulesLowHigh
Limit failed sign-onsLowHigh
Reset powerful profilesLowCritical
Restrict QALWOBJRSTLow to moderateHigh
Tighten *PUBLIC authorityModerate to highHigh
Register exit-point programsModerateHigh
Raise QSECURITYModerateHigh
Deploy multi-factor authenticationModerate rolloutCritical

Tier 3: Ongoing Discipline

Review Authority

Rerun authority collection and challenge every powerful profile that no longer needs the access.

Read the Audit Records

Review QAUDJRN output on a schedule that can catch a problem while it still matters.

Recheck Network Rules

Compare exit-point rules with every new integration before the project becomes an undocumented exception.

Test the Rollback

Practice restoring the setting and the service before an urgent change makes that the first attempt.

Test every Tier 2 change against real application traffic before production. A rollback that exists only in a change ticket is not ready.