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.
Change One IBM i Control Without Breaking Production
Record the Starting Point
Save the current value, authority, rule, or product setting before changing it.
Run the Real Work in Test
Exercise sign-on, batch, integrations, month-end work, and the network routes the control can affect.
Set the Rollback Trigger
Name the failure that stops the release and the exact setting or authority that restores the old state.
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
| Change | Break Risk | Security Value |
|---|---|---|
| Enforce password rules | Low | High |
| Limit failed sign-ons | Low | High |
| Reset powerful profiles | Low | Critical |
| Restrict QALWOBJRST | Low to moderate | High |
| Tighten *PUBLIC authority | Moderate to high | High |
| Register exit-point programs | Moderate | High |
| Raise QSECURITY | Moderate | High |
| Deploy multi-factor authentication | Moderate rollout | Critical |
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.