https://bugs.contribs.org/show_bug.cgi?id=10874
--- Comment #11 from bunkobugsy <[email protected]> ---
rpm -q --whatprovides /etc/e-smith/templates/etc/pam.d/system-auth/40password
e-smith-base-5.8.0-61.el7.sme.x86_64
config set passwordhistory 0
(set by rpm in /etc/e-smith/db/configuration/defaults/passwordhistory/type: 0)
config show passwordhistory
passwordhistory=0
diff -ruN 40password.orig 40password
--- 40password.orig 2013-01-31 17:52:03.000000000 +0200
+++ 40password 2020-12-04 17:11:28.000000000 +0200
@@ -1,4 +1,4 @@
-password sufficient pam_unix.so nullok md5 shadow
+{"password sufficient pam_unix.so nullok md5 shadow
remember=$passwordhistory";}
{
my $status = $ldap{Authentication} || 'disabled';
return unless $status eq 'enabled';
expand-template /etc/pam.d/system-auth
cat /etc/pam.d/system-auth
#%PAM-1.0
#------------------------------------------------------------
# !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
auth required pam_env.so
auth sufficient pam_unix.so likeauth nullok
auth required pam_deny.so
account required pam_unix.so broken_shadow
account sufficient pam_succeed_if.so uid < 100 quiet
account required pam_permit.so
password sufficient pam_unix.so nullok md5 shadow remember=0
password required pam_deny.so
session required pam_limits.so
session required pam_unix.so
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/