Re: Finger and getpwent

[ Available lists | Index of freebsd-stable | Month of Jul 1998 | Week of 10 Jul 1998 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Tom <tom@uniserve.com>
Date
10 Jul 1998 12:29:10
Subject
Re: Finger and getpwent
Message-ID
Pine.BSF.3.96.980710122412.2887A-100000@shell.uniserve.ca

In reply to

[ Hide this part ]
 
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


Elapsed time: 0.094 seconds