From owner-freebsd-stable Fri Jul 10 14:49:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA22981 for freebsd-stable-outgoing; Fri, 10 Jul 1998 14:49:35 -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 OAA22969 for ; Fri, 10 Jul 1998 14:49:32 -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 0yul2Y-0002LQ-00; Fri, 10 Jul 1998 14:49:14 -0700 Date: Fri, 10 Jul 1998 14:49:12 -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: > /etc/master.passwd not in end of file. If getpwent() returned 0 in > comments "#" and -1 in EOF it solved. Are there any solution in this case? The problem is probably pwd_mkdb. It should simply strip the commented usernames as it is building the file. I don't see any login in pwd_mkdb to do this, but I didn't spend much time looking. I hope you realize that commented usersnames have not been historically allowed in UNIX. > Many thanks, > Paulo. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message