Find default passwords with ANZDFTPWD

There are profiles in your system whose passwords match their profile names. You have them. Everyone has them. The only question is how many.
IBM ships a command that finds every one of them:

ANZDFTPWD

That is Analyze Default Passwords. It reviews every user profile on the box and reports the ones where the password equals the user profile name. The profile a vendor created during an install six years ago and never changed.
These are not theoretical risks. A default password on a profile with any real authority is the single easiest way into a system, and it is the first thing anybody looking to get in will try. It requires no skill. It requires knowing the profile name, which is very often just a person’s initials or the word ADMIN.
ANZDFTPWD does more than list them. Caution: don’t run the next command without understanding what will happen. You can run it with ACTION(*DISABLE) to disable the offenders for you, or with *PWDEXP to force a change at the next sign-on. Start with a plain report, read it, and decide who is safe to disable and who needs a real password today.

I have walked into shops with thirty of these. I have walked into shops that had one, and it was QSECOFR, which is the only one that truly has to be right.

Run the report before lunch. Whatever number comes back, these are issues you need to deal with. If you do nothing, it is smaller today than it will be a year from now if you look away.
#IBMi #Security #Power

Originally posted on LinkedIn. Join the conversation there.

Get new posts by email

Practical IBM i tips on SQL services, security and backup, sent when I publish. No spam, unsubscribe anytime.

Leave a Reply