Bug 438994

Summary: pam should enforce a couple password quality checks
Product: Red Hat Enterprise Linux 5 Reporter: Steve Grubb <sgrubb>
Component: pamAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3CC: mkoci
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 22:04:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve Grubb 2008-03-26 13:57:49 UTC
Description of problem:
1) pam should be able to ensure that a chosen password does not contain, repeat,
or reverse the associated userID.
2) pam should be able ensure that the password does not contain a configurable 
number of the same characters consecutively.
3) pam should be configurable to prevent a user from choosing a password that is
already associated with another userID. It should not tell the user that this is
the reason why the password is being rejected. It must reuse an explanation that
is already in use to reject passwords so as not to give away the reason.

Comment 2 Tomas Mraz 2008-03-26 14:06:12 UTC
1) and 2) seem reasonable and can be added to pam_cracklib.

The 3) is very security critical thing to do correctly. It will have to be
implemented very carefully in regards to timing attacks and so on. It also seems
to me as really questionable thing whether it is useful at all (apart from
giving a check on some list of items in some weird security standard).

It will also need a standalone helper for SELinux as the module itself cannot
read /etc/shadow.


Comment 3 RHEL Program Management 2008-06-02 20:12:18 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 7 errata-xmlrpc 2009-01-20 22:04:12 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0222.html