Start Here

The AS/400 and IBM i Security Guide

If you only do four things, do these, in this order: confirm your security level, find and fix default passwords on powerful profiles, cut *ALLOBJ down to the people who genuinely need it, and put controls in front of your network exit points. Everything else on this site is depth behind one of those four.

Why Most IBM i Security Advice Is Ordered Wrong

Search for AS/400 security best practices and you get a list. Usually a long one, usually alphabetical or grouped by product category, and almost never sequenced by what is actually broken on real systems. That ordering problem matters more than it sounds, because IBM i security work is nearly always done in whatever time is left over after everything else. If the first three items on the list are low-yield, that is the whole budget gone.

So we ordered this differently. The sequence below follows what industry assessments keep finding, most consistently in Fortra's annual State of IBM i Security Study, rather than what makes for a tidy checklist. The finding that shows up on the most systems goes first.

The Order We Would Work In

1. Confirm the Security Level

Quick, binary, and occasionally alarming. Level 40 is the practical minimum. This is the one item that is usually already correct, which is precisely why it should not take more than an afternoon.

2. Hunt Default and Weak Passwords

Powerful profiles with default or guessable passwords remain one of the most common critical findings, and QSECOFR-equivalent profiles are the ones that matter. This is the highest-yield hour you will spend.

3. Cut Down Special Authorities

*ALLOBJ handed out well beyond the IT team is the finding that survives every generation of hardware. Every profile holding it is a full bypass of the authority model you spent years maintaining.

4. Close the Exit Points

FTP, ODBC, JDBC, DDM, and remote command reach your data without ever seeing a menu or a sign-on screen. Unguarded exit points are how green-screen-era controls quietly stopped applying.

5. Turn On Audit Journaling and Send It Somewhere

QAUDJRN captures the evidence. Left on the box, it is a forensic tool nobody opens. Forwarded to a SIEM, it becomes detection.

6. Add MFA

Native IBM i sign-on is password-only, and MFA is always a third-party addition. Do it after the first five, because MFA on a profile that still holds *ALLOBJ only narrows one route in.

Best Practices That Survive Contact With a Real System

A best practice is only worth the name if it changes an outcome. These are the ones we would defend.

Treat *PUBLIC authority as the setting that decides your blast radius. QCRTAUT is frequently still at *CHANGE, which quietly grants every new object to everyone. Set library-level defaults deliberately rather than inheriting them, and check what your application vendor ships with, because that is where a lot of *PUBLIC *CHANGE actually comes from.

Adopt authority rather than granting it. Adopted authority lets a program run with elevated rights without the user ever holding them, which keeps the profile itself unremarkable if it is compromised. It needs care around program-called-program chains, but it beats the alternative of permanent special authorities on human profiles.

Separate the people who administer security from the people who are audited by it. On a lot of IBM i shops the same two people do both, which is understandable and still a finding. If you cannot separate the duties, separate the review: have someone outside the team read the audit journal reports on a schedule.

Assume the network is the front door. The single biggest structural change on IBM i security in twenty years is that most access no longer arrives through a terminal session. If a control only applies to 5250 sign-on, treat it as a partial control and write down what it does not cover.

Tips That Are Really Just Postponed Problems

Some advice circulates because it is easy to give, not because it works. Restricting users to an initial menu with LMTCPB(*YES) is the clearest example: it looks like access control and it stops nothing that arrives over ODBC. Renaming QSECOFR is another. It is not harmful, but it is a speed bump presented as a control, and it can create false confidence that something structural was addressed.

Scheduling an annual security review is the third. Annual is better than never. It is also long enough for an authority change made in March to sit undetected until the following January. If the review is genuinely annual, at least make the authority and profile reports monthly and automated, so the annual review is reading a trend instead of taking a snapshot.

None of this requires buying anything to start. Items one through three on the list above are configuration and cleanup. Software becomes necessary around exit points, audit forwarding, and MFA, which is also the point where the vendor and comparison research on this site starts to earn its keep.

More From the AS/400 and IBM i Research Network