Description of problem: faillog executes options as they are parsed rather than once they have all been gathered Thus faillog -r -u 1234 will reset the fail counter for all users rather than just the named user, whereas faillog -u 1234 -r will reset for just the one user. Upstream code has rework the code to put the execution of function after the parsing of arguments has completed. Version-Release number of selected component (if applicable): shadow-utils-4.0.17-15.el5
Created attachment 435089 [details] patch to place execution after argument parsing
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0244.html