* 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:
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -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
|
||||
|
||||
|
||||
5
debian/passwd.chpasswd.pam
vendored
5
debian/passwd.chpasswd.pam
vendored
@@ -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
|
||||
|
||||
6
debian/passwd.newusers.pam
vendored
6
debian/passwd.newusers.pam
vendored
@@ -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
4
debian/rules
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user