From owner-freebsd-stable Fri Jul 10 12:29:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26020 for freebsd-stable-outgoing; Fri, 10 Jul 1998 12:29:10 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from pop.uniserve.com (pop.uniserve.com [204.244.156.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA26005 for ; Fri, 10 Jul 1998 12:29:08 -0700 (PDT) (envelope-from tom@uniserve.com) Received: from shell.uniserve.ca [204.244.186.218] by pop.uniserve.com with smtp (Exim 1.82 #4) id 0yuiqA-0004do-00; Fri, 10 Jul 1998 12:28:18 -0700 Date: Fri, 10 Jul 1998 12:28:16 -0700 (PDT) From: Tom X-Sender: tom@shell.uniserve.ca To: Paulo Fragoso 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 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