Date: Fri, 10 Jul 1998 23:57:18 -0400 (EDT) From: Peter Philipp <philipp@globalserve.net> To: Tom <tom@uniserve.com> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Finger and getpwent Message-ID: <Pine.NEB.4.00.9807102347090.28217-100000@geeklab.globalserve.net> In-Reply-To: <Pine.BSF.3.96.980710195930.5248A-100000@shell.uniserve.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > > > > <Shabby> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.4.00.9807102347090.28217-100000>