* debian/rules, debian/passwd.newusers.pam, debian/passwd.chpasswd.pam:

Install the newusers and chpasswd PAM service configuration files.
    newusers and chpasswd now use PAM to update the passwords.
    Closes: #525153
This commit is contained in:
nekral-guest
2009-05-09 17:03:49 +00:00
parent d65a81cc37
commit 4e2e230b07
4 changed files with 10 additions and 11 deletions

6
debian/changelog vendored
View File

@@ -16,8 +16,12 @@ shadow (1:4.1.3.1-1) UNRELEASED; urgency=low
+ debian/patches/429_login_FAILLOG_ENAB
+ debian/patches/463_login_delay_obeys_to_PAM
* debian/securetty.linux: Added Freescale i.MX ports. Closes: #527095
* debian/rules, debian/passwd.newusers.pam, debian/passwd.chpasswd.pam:
Install the newusers and chpasswd PAM service configuration files.
newusers and chpasswd now use PAM to update the passwords.
Closes: #525153
-- Christian Perrier <bubulle@debian.org> Sat, 09 May 2009 15:44:03 +0200
-- Christian Perrier <bubulle@debian.org> Sat, 09 May 2009 19:02:36 +0200
shadow (1:4.1.3.1-1) unstable; urgency=low

View File

@@ -1,8 +1,5 @@
# The PAM configuration file for the Shadow 'chpasswd' service
#
# This allows root to use chpasswd without being prompted for a password
auth sufficient pam_rootok.so
@include common-password
# checks for account validity
account required pam_permit.so

View File

@@ -1,9 +1,5 @@
# The PAM configuration file for the Shadow 'newusers' service
#
# This allows root to add users with a batch file without being
# prompted for a password
auth sufficient pam_rootok.so
@include common-password
# checks for account validity
account required pam_permit.so

4
debian/rules vendored
View File

@@ -55,10 +55,12 @@ binary-install/passwd::
install -c -m 444 man/pl/shadowconfig.8 debian/passwd/usr/share/man/pl/man8
install -c -m 444 man/fr/shadowconfig.8 debian/passwd/usr/share/man/fr/man8
# Distribute the pam.d files; unless for the commands with disabled PAM
# support (see patch 404_undef_USE_PAM.dpatch)
# support
dh_installpam -p passwd --name=passwd
dh_installpam -p passwd --name=chfn
dh_installpam -p passwd --name=chsh
dh_installpam -p passwd --name=chpasswd
dh_installpam -p passwd --name=newusers
ifeq ($(DEB_HOST_ARCH_OS),hurd)
# login is not built on The Hurd, but some utilities of passwd depends on
# /etc/login.defs.