shadow: some fixes for PAM related services.
* /etc/pam.d/passwd: remove some default values. * Create /etc/pam.d/chsh and /etc/pam.d/chfn to make them work. Bump revision. --HG-- extra : convert_revision : 9be5eba021dd0ee393782432de81ad6eac4861ab
This commit is contained in:
parent
c559450bd2
commit
30def70ad0
2 changed files with 2 additions and 4 deletions
|
@ -1,6 +1,3 @@
|
|||
password required pam_cracklib.so type=Linux retry=3 \
|
||||
difok=5 diffignore=23 minlen=9 \
|
||||
dcredit=1 ucredit=1 lcredit=1 \
|
||||
ocredit=1 \
|
||||
dictpath=/lib/cracklib/pw_dict
|
||||
password required pam_unix.so sha512 shadow use_authtok
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'shadow'
|
||||
pkgname=shadow
|
||||
version=4.1.3
|
||||
revision=1
|
||||
distfiles="ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--libdir=/lib --enable-shared --disable-static
|
||||
|
@ -37,7 +38,7 @@ post_install()
|
|||
install -m644 ${FILESDIR}/${f}.pam ${DESTDIR}/etc/pam.d/${f}
|
||||
done
|
||||
for f in chpasswd chgpasswd groupadd groupdel groupmems \
|
||||
groupmod newusers useradd userdel usermod; do
|
||||
groupmod newusers useradd userdel usermod chsh chfn; do
|
||||
install -m644 $DESTDIR/etc/pam.d/chage $DESTDIR/etc/pam.d/${f}
|
||||
done
|
||||
install -m644 ${FILESDIR}/login.defs ${DESTDIR}/etc
|
||||
|
|
Loading…
Reference in a new issue