Bug 619150 - faillog executes during argument parsing
faillog executes during argument parsing
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: shadow-utils (Show other bugs)
All Linux
urgent Severity urgent
: rc
: ---
Assigned To: Peter Vrabec
Milos Malik
: ZStream
Depends On:
Blocks: 690831
  Show dependency treegraph
Reported: 2010-07-28 13:25 EDT by Martin Poole
Modified: 2012-11-06 09:35 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-02-21 01:16:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to place execution after argument parsing (2.66 KB, patch)
2010-07-28 13:29 EDT, Martin Poole
no flags Details | Diff

  None (edit)
Description Martin Poole 2010-07-28 13:25:06 EDT
Description of problem:

faillog executes options as they are parsed rather than once they have all been gathered


  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):

Comment 1 Martin Poole 2010-07-28 13:29:46 EDT
Created attachment 435089 [details]
patch to place execution after argument parsing
Comment 7 errata-xmlrpc 2012-02-21 01:16:32 EST
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.


Note You need to log in before you can comment on or make changes to this bug.