Bug 755883

Summary: Call pwquality library for systemwide password quality checking
Product: [Fedora] Fedora Reporter: Tomas Mraz <tmraz>
Component: anacondaAssignee: Martin Gracik <mgracik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, dmach, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-17.10-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 14:02:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Proposed patch none

Description Tomas Mraz 2011-11-22 10:17:52 UTC
Created attachment 534978 [details]
Proposed patch

I have written a simple library that should be used systemwide for the password
quality checking. It uses cracklib for the dictionary checks and adds additional configurable checks above it. The library is named libpwquality and there is also a python wrapper.

The library is in the libpwquality package, the python wrapper in the python-pwquality.

I have attached a simple patch that calls the python wrapper from anaconda.

Comment 1 Martin Gracik 2011-11-22 11:17:00 UTC
Thanks for the patch. It's nice there's a library for this finally available.

My concern here is, that the root password window is going to be rewritten along with the whole anaconda UI rewrite, so no point in adding it to the old one now.

Another thing is that I'm not really sure what's the final decision about the no root password window in the UI, and having a normal user window instead.