From 49ca483aa121c23f42a088be543d802277cd97af Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Tue, 19 May 1998 03:48:07 +0000 Subject: [PATCH] Use the correct name of the login.conf(5) capability (`passwordperiod' -> `passwordtime'). --- usr.bin/passwd/local_passwd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.bin/passwd/local_passwd.c b/usr.bin/passwd/local_passwd.c index 33044b9ae165..6269d1ed1b47 100644 --- a/usr.bin/passwd/local_passwd.c +++ b/usr.bin/passwd/local_passwd.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: local_passwd.c,v 1.18 1997/06/14 00:27:03 ache Exp $ + * $Id: local_passwd.c,v 1.19 1998/03/07 21:42:07 ache Exp $ */ #ifndef lint @@ -123,8 +123,8 @@ getnewpasswd(pw, nis) /* minpasswordlen capablity */ min_length = (int)login_getcapnum(lc, "minpasswordlen", min_length, min_length); - /* passwordperiod capability */ - period = login_getcaptime(lc, "passwordperiod", 0, 0); + /* passwordtime capability */ + period = login_getcaptime(lc, "passwordtime", 0, 0); if (period > (time_t)0) { pw->pw_change = time(NULL) + period; } @@ -207,7 +207,7 @@ local_passwd(uname) * Get the new password. Reset passwd change time to zero by * default. If the user has a valid login class (or the default * fallback exists), then the next password change date is set - * by getnewpasswd() according to the "passwordperiod" capability + * by getnewpasswd() according to the "passwordtime" capability * if one has been specified. */ pw->pw_change = 0;