Skip to content

TSO Password History Check Error #1

@EnsonoStevenPerva

Description

@EnsonoStevenPerva

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions