The code for the password history check in checks\tso\racf_options.py has an error in password_history. On my particular system, the PASSWORD PROCESSING OPTIONS section comes as one whole line. I would propose this section have code that scans for the word "GENERATIONS" in this manner, but I'd expect someone more intelligent than I to vet this:
if "GENERATIONS OF PREVIOUS PASSWORDS BEING MAINTAINED" in i:
generations = None
words = i.split(" ")
for i in range(len(words)):
if words[i] == "GENERATIONS":
generations = words[i-1]
if int(generations) < 5:
result = False
The code for the password history check in
checks\tso\racf_options.pyhas an error inpassword_history. On my particular system, the PASSWORD PROCESSING OPTIONS section comes as one whole line. I would propose this section have code that scans for the word "GENERATIONS" in this manner, but I'd expect someone more intelligent than I to vet this: