use pam_pwquality instead of pam_cracklib

This commit is contained in:
Tomas Mraz 2011-11-24 15:05:57 +01:00
parent 0c02cd5bb7
commit 0e4d0dbd64
4 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,7 @@
Summary: An extensible library which provides authentication for applications Summary: An extensible library which provides authentication for applications
Name: pam Name: pam
Version: 1.1.5 Version: 1.1.5
Release: 1%{?dist} Release: 2%{?dist}
# The library is BSD licensed with option to relicense as GPLv2+ # The library is BSD licensed with option to relicense as GPLv2+
# - this option is redundant as the BSD license allows that anyway. # - this option is redundant as the BSD license allows that anyway.
# pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+. # pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+.
@ -52,6 +52,7 @@ Patch12: pam-1.1.3-faillock-screensaver.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: cracklib-dicts >= 2.8 Requires: cracklib-dicts >= 2.8
Requires: libpwquality >= 0.9.9
Requires(post): coreutils, /sbin/ldconfig Requires(post): coreutils, /sbin/ldconfig
BuildRequires: autoconf >= 2.60 BuildRequires: autoconf >= 2.60
BuildRequires: automake, libtool BuildRequires: automake, libtool
@ -361,6 +362,9 @@ fi
%doc doc/adg/*.txt doc/adg/html %doc doc/adg/*.txt doc/adg/html
%changelog %changelog
* Thu Nov 24 2011 Tomas Mraz <tmraz@redhat.com> 1.1.5-2
- use pam_pwquality instead of pam_cracklib
* Thu Nov 24 2011 Tomas Mraz <tmraz@redhat.com> 1.1.5-1 * Thu Nov 24 2011 Tomas Mraz <tmraz@redhat.com> 1.1.5-1
- upgrade to new upstream release - upgrade to new upstream release

View File

@ -7,7 +7,7 @@ auth required pam_deny.so
account required pam_unix.so account required pam_unix.so
password requisite pam_cracklib.so try_first_pass retry=3 type= password requisite pam_pwquality.so try_first_pass retry=3 type=
password sufficient pam_unix.so try_first_pass use_authtok nullok sha512 shadow password sufficient pam_unix.so try_first_pass use_authtok nullok sha512 shadow
password required pam_deny.so password required pam_deny.so

View File

@ -11,7 +11,6 @@ account sufficient pam_succeed_if.so uid < 500 quiet
account required pam_permit.so account required pam_permit.so
password optional pam_pkcs11.so password optional pam_pkcs11.so
password requisite pam_cracklib.so try_first_pass retry=3 type=
session optional pam_keyinit.so revoke session optional pam_keyinit.so revoke
session required pam_limits.so session required pam_limits.so

View File

@ -7,7 +7,7 @@ auth required pam_deny.so
account required pam_unix.so account required pam_unix.so
password requisite pam_cracklib.so try_first_pass retry=3 type= password requisite pam_pwquality.so try_first_pass retry=3 type=
password sufficient pam_unix.so try_first_pass use_authtok nullok sha512 shadow password sufficient pam_unix.so try_first_pass use_authtok nullok sha512 shadow
password required pam_deny.so password required pam_deny.so