From owner-freebsd-bugs Mon Jun 9 13:20:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA12432 for bugs-outgoing; Mon, 9 Jun 1997 13:20:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA12390; Mon, 9 Jun 1997 13:20:02 -0700 (PDT) Resent-Date: Mon, 9 Jun 1997 13:20:02 -0700 (PDT) Resent-Message-Id: <199706092020.NAA12390@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, joes@spiritone.com Received: from ridge.spiritone.com (ridge.spiritone.com [205.139.108.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA12083 for ; Mon, 9 Jun 1997 13:13:52 -0700 (PDT) Received: from joes.users.spiritone.com (joes.users.spiritone.com [205.139.111.224]) by ridge.spiritone.com (8.8.5/8.8.5) with ESMTP id NAA16669 for ; Mon, 9 Jun 1997 13:13:20 -0700 (PDT) Received: (from joes@localhost) by joes.users.spiritone.com (8.8.5/8.8.6.Beta4) id MAA11340; Mon, 9 Jun 1997 12:49:16 -0700 (PDT) Message-Id: <199706091949.MAA11340@joes.users.spiritone.com> Date: Mon, 9 Jun 1997 12:49:16 -0700 (PDT) From: Joseph Stein Reply-To: joes@spiritone.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/3819: passwordperiod != passwordtime in man (5) login.conf Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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: