From owner-freebsd-stable Fri Jul 10 20:36:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA19580 for freebsd-stable-outgoing; Fri, 10 Jul 1998 20:36:03 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from geeklab.globalserve.net (geeklab.globalserve.net [209.90.144.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA19575 for ; Fri, 10 Jul 1998 20:36:00 -0700 (PDT) (envelope-from philipp@globalserve.net) Received: from localhost (philipp@localhost) by geeklab.globalserve.net (8.8.8/8.8.7) with SMTP id XAA09268; Fri, 10 Jul 1998 23:57:18 -0400 (EDT) X-Authentication-Warning: geeklab.globalserve.net: philipp owned process doing -bs Date: Fri, 10 Jul 1998 23:57:18 -0400 (EDT) From: Peter Philipp To: Tom cc: freebsd-stable@FreeBSD.ORG Subject: Re: Finger and getpwent In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG if you want my opion hash comments in /etc/*passwd is just ugly and wrong. In the FreeBSD manpage I'll requote what someone else quoted.. Lines whose first non-whitespace character is a pound-sign (#) are comments, and are ignored. Blank lines which consist only of spaces, tabs or newlines are also ignored. ...yet if you look below and closer... HISTORY A passwd file format appeared in Version 6 AT&T UNIX. The YP/NIS functionality is modeled after SunOS and first appeared in FreeBSD 1.1 The override capability is new in FreeBSD 2.0. The override capability was updated to properly support netgroups in FreeBSD 2.0.5. Support for comments first appeared in FreeBSD 3.0. ^^^^^^^^^^^^ That could explain it... the passwd(5) manpage is a little bit ahead of itself in -stable, and thus comments are most likely not supported as -stable is not quite at 3.0. Possible? I haven't checked the code but this would make sense. Peter Philipp (PP2441) Globalserve System Administration "How I wish you were here..." - Pink Floyd On Fri, 10 Jul 1998, Tom wrote: > > On Sat, 11 Jul 1998, Harold Gutch wrote: > > > Paolo's original Mail), I guess the manpage is correct and > > therefore getpwent() is broken somehow... > > No, getpwent is not broken. pwd_mkdb should not even put commeted out > usernames into the database for getpwent to see. > > > -- > > bye, logix > > > > Sleep is an abstinence syndrome wich occurs due to lack of caffein. > > Wed Mar 4 04:53:33 CET 1998 #unix, ircnet > > Tom > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message