Browse code

Setting default password aging to 90 days

Change-Id: Ia867d5e0732f6aec7ab9cb81282f635a699c42c5
Reviewed-on: http://photon-jenkins.eng.vmware.com/777
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Sharath George

dthaluru authored on 2016/04/30 02:34:11
Showing 1 changed files
... ...
@@ -73,7 +73,7 @@ do
73 73
     sed -i "s/^${FUNCTION}/# &/" %{buildroot}/etc/login.defs
74 74
 done
75 75
 
76
-sed -i "s/^PASS_MAX_DAYS.*/PASS_MAX_DAYS    365/" %{buildroot}/etc/login.defs
76
+sed -i "s/^PASS_MAX_DAYS.*/PASS_MAX_DAYS    90/" %{buildroot}/etc/login.defs
77 77
 
78 78
 pushd PAM-Configuration-Files
79 79
 install -vm644 * %{buildroot}%{_sysconfdir}/pam.d/
... ...
@@ -101,6 +101,8 @@ done
101 101
 %{_mandir}/*/*
102 102
 %{_sysconfdir}/pam.d/*
103 103
 %changelog
104
+*       Fri Apr 29 2016 Divya Thaluru <dthaluru@vmware.com> 4.2.1-3
105
+-       Setting password aging limits to 90 days
104 106
 *       Wed Apr 27 2016 Divya Thaluru <dthaluru@vmware.com> 4.2.1-3
105 107
 -       Setting password aging limits to 365 days
106 108
 *       Wed Mar 23 2016 Divya Thaluru <dthaluru@vmware.com> 4.2.1-2