Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2002 17:02:19 +0200 (CEST)
From:      Nicolas Rachinsky <nicolas@dauerreden.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/43112: man 5 passwd not correct
Message-ID:  <200209201502.g8KF2Jo2096320@pc5.abc>

next in thread | raw e-mail | index | archive | help

>Number:         43112
>Category:       docs
>Synopsis:       man 5 passwd not correct
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 20 08:10:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas Rachinsky
>Release:        FreeBSD 4.6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD pc5.abc 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #2: Tue Aug 27 11:51:55 CEST 2002 root@:/usr/src/sys/compile/PC5 i386


	
>Description:

The man page for passwd(5) does not correctly describe the format
of /etc/passwd. There is no master.passwd(5).

>How-To-Repeat:
read "man 5 passwd" and compare it with the actual format of
/etc/passwd.

Try "man 5 master.passwd"

>Fix:


Index: Makefile
===================================================================
RCS file: /usr/cvs-freebsd/src/share/man/man5/Makefile,v
retrieving revision 1.27.2.7
diff -u -r1.27.2.7 Makefile
--- Makefile	2 Apr 2002 09:19:30 -0000	1.27.2.7
+++ Makefile	20 Sep 2002 10:34:18 -0000
@@ -15,5 +15,6 @@
 MLINKS+=hosts.equiv.5 rhosts.5
 MLINKS+=resolver.5 resolv.conf.5
 MLINKS+=utmp.5 lastlog.5 utmp.5 wtmp.5
+MLINKS+=passwd.5 master.passwd.5 
 
 .include <bsd.prog.mk>
Index: passwd.5
===================================================================
RCS file: /usr/cvs-freebsd/src/share/man/man5/passwd.5,v
retrieving revision 1.26.2.5
diff -u -r1.26.2.5 passwd.5
--- passwd.5	1 Feb 2002 15:51:18 -0000	1.26.2.5
+++ passwd.5	20 Sep 2002 14:57:42 -0000
@@ -36,13 +36,14 @@
 .Dt PASSWD 5
 .Os
 .Sh NAME
-.Nm passwd
-.Nd format of the password file
+.Nm passwd , 
+.Nm master.passwd
+.Nd format of the password files
 .Sh DESCRIPTION
 The
 .Nm
 files are files consisting of newline separated records, one per user,
-containing ten colon
+containing seven or ten colon
 .Pq Ql \&:
 separated fields.  These fields are as
 follows:
@@ -71,6 +72,14 @@
 .It shell
 User's login shell.
 .El
+.Pp
+The fields 
+.Ar class , 
+.Ar change
+and 
+.Ar expire
+are not present in the file
+.Pa /etc/passwd .
 .Pp
 Lines whose first non-whitespace character is a pound-sign (#)
 are comments, and are ignored.  Blank lines which consist

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209201502.g8KF2Jo2096320>