Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 1998 12:28:16 -0700 (PDT)
From:      Tom <tom@uniserve.com>
To:        Paulo Fragoso <paulo@nlink.com.br>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Finger and getpwent
Message-ID:  <Pine.BSF.3.96.980710122412.2887A-100000@shell.uniserve.ca>
In-Reply-To: <Pine.BSF.3.96.980710093114.19286C-100000@mirage.nlink.com.br>

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

On Fri, 10 Jul 1998, Paulo Fragoso wrote:

> Hi,
> 
> I don't know if seding message to correct list. But after upgrade from
> FBSD 2.2.2 to FBSD 2.2.6-stable something moved. In my /etc/passwd file
> there are lots of coments "#" and getpwent() return 0 after read this
> line. I have some scripts in perl that stops when getpwent() return 0.
> In FBSD 2.2.2 when getpwent() returned 0 meant end of file /etc/passwd.

  I hope you realize that /etc/passwd isn't used for anything.  All users
should be listed in /etc/master.passwd.  You should used vipw to edit
/etc/master.passwd

Tom


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.BSF.3.96.980710122412.2887A-100000>