Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 9): Bug 1825010
Please note that this Bug is private and may not be accessible as it contains confidential Red Hat customer information.
Description of problem: The command accept equal values: # ipa pwpolicy-mod --minlife 24 --maxlife 1 Group: global_policy Max lifetime (days): 1 Min lifetime (hours): 24 History size: 0 Character classes: 0 Min length: 0 Max failures: 6 Failure reset interval: 60 Lockout duration: 600 Is it feasible to change the message "Maximum password life must be greater than the minimum value" to " Maximum password life must be greater than or equal to the minimum value." since the command is accepting equal values?
Metadata Update from @fcami: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1825010
Issue linked to bug 1825010
Metadata Update from @fcami: - Custom field changelog adjusted to ipa pwpolicy-mod --minlife $min --maxlife $max accepts $max >= $min, yet the error message says: "Maximum password life must be greater than minimum." Change the error message so that it conveys the actual logic. - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6086
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)