Bug 770162 - /usr/bin/faillog missing from shadow-utils
Summary: /usr/bin/faillog missing from shadow-utils
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: shadow-utils
Version: 6.2
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Peter Vrabec
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-23 18:48 UTC by Cale Bouscal
Modified: 2015-03-05 00:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-03 13:38:30 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Cale Bouscal 2011-12-23 18:48:27 UTC
Description of problem:

/usr/bin/faillog missing from shadow-utils in 6.2


Version-Release number of selected component (if applicable):

Red Hat Enterprise Linux Server release 6.0 (Santiago)


How reproducible:

always

Steps to Reproduce:

1. Update RHEL6 to 6.2 from 6.0 - unsure if the problem exists in 6.1
2
3. 
  
Actual results:

/usr/bin/faillog missing

Expected results:

/usr/bin/faillog provided by shadow-utils package

Additional info:

----> 6.0

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.0 (Santiago)

# ls -lrth /usr/bin/faillog
-rwxr-xr-x. 1 root root 14K Jul 20  2010 /usr/bin/faillog

# yum provides /usr/bin/faillog
Loaded plugins: refresh-packagekit, rhnplugin
2:shadow-utils-4.1.4.2-8.el6.i686 : Utilities for managing accounts and shadow
                                  : password files
Repo        : rhel-i386-server-6
Matched from:
Filename    : /usr/bin/faillog

# rpm -ql shadow-utils| grep '/usr/bin/faillog'
/usr/bin/faillog


----> 6.2 

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.2 (Santiago)

# ls -lrth /usr/bin/faillog
ls: cannot access /usr/bin/faillog: No such file or directory

# yum provides /usr/bin/faillog
Loaded plugins: rhnplugin
2:shadow-utils-4.1.4.2-8.el6.i686 : Utilities for managing accounts and shadow
                                  : password files
Repo        : rhel-i386-server-6
Matched from:
Filename    : /usr/bin/faillog

# rpm -ql shadow-utils | grep '/usr/bin/faillog'
<returns nothing>

----> Other info

- There is a /usr/bin/faillock in 6.2 provided by pam - has this replaced faillog?

Comment 1 Cale Bouscal 2011-12-23 18:49:49 UTC
Correction - 'faillock' is found at /sbin/faillock, not /usr/bin/faillock...

# yum provides /sbin/faillock
Loaded plugins: rhnplugin
pam-1.1.1-10.el6.x86_64 : An extensible library which provides authentication
                        : for applications
Repo        : rhel-x86_64-server-6
Matched from:
Filename    : /sbin/faillock

Comment 3 Milos Malik 2011-12-29 16:48:39 UTC
To avoid any confusion:
 * faillog utility was removed ( https://bugzilla.redhat.com/show_bug.cgi?id=675168 )
 * faillock utility is located in /sbin/

Comment 4 Peter Vrabec 2012-01-03 13:38:30 UTC
faillog command was removed in 6.1. 

Please see: 
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=675168
Advisory: RHBA-2011:0790-1

...
* Previously, the pam_tally.so module was used to write to /var/log/faillog.
Since the module is no longer shipped, the faillog application that reads that
file became obsolete. This update removes faillog from Red Hat Enterprise Linux
6. (BZ#675168)
....


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