Greetings, Yes for sure there is NO way to get the details on the length of a user password. But the IBM I has lots of knobs that allow you to make passwords very complicated. Length, Repeat characters, Passphrases, special chars, and more. There is a new iSee video that was just recorded today to help with this very topic!! Should be published next week. Please watch
https://learn.common.org/products/ibm-isee-video-blog
for details.
Tim
------------------------------
Tim Rowe
------------------------------
Original Message:
Sent: Thu March 07, 2024 02:30 AM
From: Rudi Van Helvoirt
Subject: User password Length check in IBM i
Hello Ujwala,
To my knowledge there is no way to check the length of passwords on IBM i. I do hope I am 100 % here, because if there was, it would be a security breach. Once you know the length of a password guessing what it is becomes a lot easier doen it not?
When you keep a record of when system values are changed, including all the password related ones, you know when the password length was implemented. With that date you can run a query on the password change date, below an example:
SELECT AUTHORIZATION_NAME, TEXT_DESCRIPTION, PASSWORD_CHANGE_DATE
FROM QSYS2.USER_INFO
WHERE PASSWORD_CHANGE_DATE <= Current date - 300 days
order by PASSWORD_CHANGE_DATE ;
Please replace the "Current date - 300 days" by the correct date of the password length change date or adjust the number of days accordingly.
Hopefully this helps.
Greetings,
------------------------------
Rudi Van Helvoirt
Original Message:
Sent: Wed March 06, 2024 12:19 PM
From: Ujwala Kavathekar
Subject: User password Length check in IBM i
Hello,
There are some old profiles in the system whose password set to not expire and password rule on the system is to use minimum length of 15 characters. So auditors are checking which profile has password length less that 15 characters. How can i check that , is there any way to query to check length of password for user profiles in the system?
Please provide you feedback. Thank you so much!
------------------------------
Ujwala Kavathekar
------------------------------