Bug 848429

Summary: Option to prevent quality checks for non-local users
Product: [Fedora] Fedora Reporter: Stef Walter <stefw>
Component: libpwqualityAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-17 22:21:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 849072, 1012854    
Attachments:
Description Flags
Add local_users_only option none

Description Stef Walter 2012-08-15 14:58:58 UTC
Tomas and I discussed today a way to prevent pam_pwquality from standing on the toes of directory/realm/domain policy when non-local users change their own passwords.

This was discussed a bit in bug #815405, but we came up with a way that should be acceptable to implement.

Comment 1 Stef Walter 2012-08-15 16:03:34 UTC
Created attachment 604635 [details]
Add local_users_only option

This patch adds a local_users_only option. 

When this option is set pam_pwquality checks whether the user shows up in the results of fgetpwent_r(). If the user does not show up there, then the passwords and updates the various authtoks, but does not check the quality of the password.

Comment 2 Fedora Update System 2012-08-16 20:11:54 UTC
libpwquality-1.2.0-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/libpwquality-1.2.0-1.fc18

Comment 3 Fedora Update System 2012-08-16 21:27:40 UTC
Package libpwquality-1.2.0-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libpwquality-1.2.0-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-12020/libpwquality-1.2.0-1.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-09-17 22:21:48 UTC
libpwquality-1.2.0-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.