NetBSD Problem Report #8655
Received: (qmail 9523 invoked from network); 20 Oct 1999 17:39:49 -0000
Message-Id: <m11dziB-000g5eC@most.weird.com>
Date: Wed, 20 Oct 1999 13:39:43 -0400 (EDT)
From: woods@mail.weird.com
Reply-To: woods@planix.com
To: gnats-bugs@gnats.netbsd.org
Subject: passwd(5) fails to mention the significance of '&' in the gecos field
X-Send-Pr-Version: 3.95
>Number: 8655
>Category: misc
>Synopsis: passwd(5) fails to mention the significance of '&' in the gecos field
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 20 10:42:00 +0000 1999
>Closed-Date: Thu Oct 28 09:27:12 +0000 1999
>Last-Modified: Thu Oct 28 09:27:26 +0000 1999
>Originator: Greg A. Woods
>Release: 1999/10/20
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD
>Description:
The passwd(5) manual page fails to mention the significance of
'&' in the gecos field.
>How-To-Repeat:
Try to explain to someone why there's an "&" in "Charlie &" in
the default /etc/master.passwd file and fail to find any
authoritative documentation on-line in the obvious place to
confirm the reason.
>Fix:
Index: passwd.5
===================================================================
RCS file: /cvs/NetBSD/src/share/man/man5/passwd.5,v
retrieving revision 1.1.1.3
diff -c -c -r1.1.1.3 passwd.5
*** passwd.5 1998/11/16 20:51:28 1.1.1.3
--- passwd.5 1999/10/20 17:30:08
***************
*** 156,164 ****
user's home phone number
.El
.Pp
! This information is used by the
.Xr finger 1
! program.
.Pp
The user's home directory is the full
.Ux
--- 156,171 ----
user's home phone number
.El
.Pp
! The full name may contain a ampersand (``&'') which will be replaced by
! the capitalized login name when the gecos field is displayed or used
! by various programs such as
! .Xr finger 1 ,
! .Xr sendmail 8 ,
! etc.
! .Pp
! The office and phone number subfields are used by the
.Xr finger 1
! program, and possibly other applications.
.Pp
The user's home directory is the full
.Ux
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: is
State-Changed-When: Thu Oct 28 02:27:12 PDT 1999
State-Changed-Why:
patch applied.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.