From nobody  Sat Aug 30 09:40:42 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.7/8.8.7) id JAA24313;
          Sat, 30 Aug 1997 09:40:42 -0700 (PDT)
Message-Id: <199708301640.JAA24313@hub.freebsd.org>
Date: Sat, 30 Aug 1997 09:40:42 -0700 (PDT)
From: berend@pobox.com
To: freebsd-gnats-submit@freebsd.org
Subject: man pages wrong regarding login.conf
X-Send-Pr-Version: www-1.0

>Number:         4439
>Category:       docs
>Synopsis:       man pages wrong regarding login.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    davidn
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 30 09:50:01 PDT 1997
>Closed-Date:    Fri May 15 02:20:35 PDT 1998
>Last-Modified:  Fri May 15 02:27:50 PDT 1998
>Originator:     Berend de Boer
>Release:        2.2.2
>Organization:
NederWare
>Environment:
FreeBSD auke.deboer 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Thu Aug 28 18:24:42 MET DST 1997     
berend@myname.my.domain:/usr/src/sys/compile/AUKE  i386
>Description:
1. description of time field in man login.conf is not correct.
It should list hours, minutes and seconds

2. man 5 passwd should say that the login class field is used now
(it says near future at this moment)
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->davidn 
Responsible-Changed-By: wosch 
Responsible-Changed-When: Sat Sep 13 10:42:18 PDT 1997 
Responsible-Changed-Why:  
David Nugent is the author of login classes. 

From: A Joseph Koshy <koshy@india.hp.com>
To: freebsd-gnats-submit@freebsd.org
Cc: phk@freebsd.org, steve@freebsd.org
Subject: Re: docs/4439: man pages wrong regarding login.conf
Date: Tue, 12 May 1998 11:19:49 +0530

 This PR can be closed.
 
 > 1. description of time field in man login.conf is not correct.
 > It should list hours, minutes and seconds
 
 This was fixed in rev1.14 of "login.conf.5" in response to PR docs/5739
 
 > 2. man 5 passwd should say that the login class field is used now
 > (it says near future at this moment)
 
 This too seems to be fixed in -stable (-r1.6.2.5) and -current (-r1.10).  
 However, in the "COMPATIBILITY" section there is still phrasing that
 implies that login classes are not implemented.  The following patch
 fixes this and additionally adds a cross reference to pw(8).
 
 (The patch will work against -current and -stable)
 
 
 # diff -u passwd.5-- passwd.5
 --- passwd.5--  Tue Oct 14 14:48:15 1997
 +++ passwd.5    Tue May 12 11:21:39 1998
 @@ -626,7 +626,8 @@
  .Xr login.conf 5 ,
  .Xr adduser 8 ,
  .Xr pwd_mkdb 8 ,
 -.Xr vipw 8
 +.Xr vipw 8 ,
 +.Xr pw 8
  .Sh BUGS
  User information should (and eventually will) be stored elsewhere.
  .Pp
 @@ -663,9 +664,10 @@
  and
  .Dq expire
  are added, but are turned off by default.
 -Class is currently not implemented, but change and expire are; to set them,
 -use the current day in seconds from the epoch + whatever number of seconds
 -of offset you want.
 +These fields can be then set using
 +.Xr vipw 8
 +or
 +.Xr pw 8 .
  .Bd -literal -offset indent
  BEGIN { FS = ":"}
  { print $1 ":" $2 ":" $3 ":" $4 "::0:0:" $5 ":" $6 ":" $7 }
 
 Regards,
 Koshy
State-Changed-From-To: open->closed 
State-Changed-By: jkoshy 
State-Changed-When: Fri May 15 02:20:35 PDT 1998 
State-Changed-Why:  
Fixed in v1.14 of "login.conf.5" (see also docs/5739) and v1.19 of "passwd.5". 
>Unformatted:
