Date: Mon, 9 Jun 1997 12:49:16 -0700 (PDT) From: Joseph Stein <joes@spiritone.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: docs/3819: passwordperiod != passwordtime in man (5) login.conf Message-ID: <199706091949.MAA11340@joes.users.spiritone.com> Resent-Message-ID: <199706092020.NAA12390@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 3819 >Category: docs >Synopsis: man (5) login.conf specifies passwordtime for password expiration >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 9 13:20:01 PDT 1997 >Last-Modified: >Originator: Joseph Stein >Organization: >Release: FreeBSD 2.2-STABLE i386 >Environment: FreeBSD joes.users.spiritone.com 2.2-STABLE FreeBSD 2.2-STABLE #0: Sun Jun 8 12:04:26 PDT 1997 joes@joes.users.spiritone.com:/usr/src/sys/compile/S_ISDN i386 (binaries created just prior to this with a CVSup pull at 1900 hours or so on Sat 07 Jun 1997. and then make world.) >Description: While trying to figure out why passwords were not being set with the appropriate expiration date/time even though the appropriate lines in /etc/login.conf and login.conf.db (made with cap_mkdb), I started digging through the sources. src/usr.bin/passwd/local_passwd.c specifies that the password expiration is taken from the variable 'passwordperiod' and not passwordtime, as is specified in the manual page. >How-To-Repeat: man 5 login.conf grep password /usr/src/usr.bin/passwd/*c >Fix: change the specification to 'passwordperiod', or, change local_passwd to look for 'passwordtime' instead. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706091949.MAA11340>