docs/62830: Login class isn't unused

Matthew D. Fuller fullermd at over-yonder.net
Mon Feb 16 10:10:17 UTC 2004


The following reply was made to PR docs/62830; it has been noted by GNATS.

From: "Matthew D. Fuller" <fullermd at over-yonder.net>
To: Marc Silver <marcs at draenor.org>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: docs/62830: Login class isn't unused
Date: Mon, 16 Feb 2004 04:08:21 -0600

 On Mon, Feb 16, 2004 at 09:07:43AM +0000 I heard the voice of
 Marc Silver, and lo! it spake thus:
 > 
 > It may be wise to mention in your patch that the login classes are not
 > used *by default*.  I would also add a reference to cap_mkdb(1) in the
 > 'SEE ALSO' section, as this is required to build the login class
 > information.
 
 passwd(5) already mentions login.conf a few lines later when it's
 describing the class:
 
      The class field is a key for a user's login class. Login classes
      are defined in login.conf(5), which is a termcap(5) style
      database of user attributes, accounting, resource, and
      environment settings.
 
 But perhaps a cross-reference to login.conf(5) might be in order;
 xref'ing cap_mkdb doesn't really make sense, since it's used to any
 number of such databases.  So, this might be better:
 
 Index: passwd.5
 ===================================================================
 RCS file: /usr/cvs/src/share/man/man5/passwd.5,v
 retrieving revision 1.40
 diff -u -r1.40 passwd.5
 --- passwd.5	15 Jan 2003 08:24:45 -0000	1.40
 +++ passwd.5	16 Feb 2004 10:06:05 -0000
 @@ -79,7 +79,7 @@
  .It gid
  User's login group id.
  .It class
 -User's general classification (unused).
 +User's login class.
  .It change
  Password change time.
  .It expire
 @@ -311,6 +311,7 @@
  .Xr login 1 ,
  .Xr passwd 1 ,
  .Xr getpwent 3 ,
 +.Xr login.conf 5 ,
  .Xr netgroup 5 ,
  .Xr adduser 8 ,
  .Xr pwd_mkdb 8 ,
 
 
 
 -- 
 Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
 Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
 
 "The only reason I'm burning my candle at both ends, is because I
       haven't figured out how to light the middle yet"



More information about the freebsd-doc mailing list