Features/PasswordQualityChecking

From FedoraProject

Jump to: navigation, search

Contents

Password Quality Checking

Summary

The goal is to provide unified and configurable way to check quality of new passwords on the system.

Owner

Current status

Detailed Description

The current Fedora does not have a single configurable library that would be used for checking quality of new passwords used for the system accounts. When passwords are changed through the PAM (Pluggable Authentication Modules) with the passwd command pam_cracklib or pam_passwdqc modules are used for this purpose. However these modules are not used when new users are created on the system and it is not easy and straightforward to use the PAM modules for this purpose.

The goal of this feature is to provide a library with simple API that would be usable:

The library libpwquality is already written and the package is built on Fedora rawhide. See Libpwquality

Benefit to Fedora

Fedora will have a single point where the system password quality limits are configured.

Scope

As the library is already done the remaining work is on porting the current applications that set/change passwords on user accounts. These applications are (non-exhaustive list):

Authconfig supports setting some of the configurable parameters within the GUI and with command line options.

How To Test

Testing the feature is quite simple. Just install the Fedora and:

User Experience

There will not be much change for the end-user experience. However the system administrators will now be able to easily set the limits for password quality on the system by editing a single configuration file.

Dependencies

Contingency Plan

Not much needed, the current experience with the change of the pam_cracklib to pam_pwquality is not changed much. So the contingency plan is to just not ship the changes in the other applications if they are not implemented.

Documentation

Release Notes

Comments and Discussion