Bug 770162

Summary: /usr/bin/faillog missing from shadow-utils
Product: Red Hat Enterprise Linux 6 Reporter: Cale Bouscal <cale>
Component: shadow-utilsAssignee: Peter Vrabec <pvrabec>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: low Docs Contact:
Priority: low    
Version: 6.2CC: mmalik, nobody
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-03 13:38:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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