Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 1998 14:49:12 -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.980710144732.2887D-100000@shell.uniserve.ca>
In-Reply-To: <Pine.BSF.3.96.980710170655.1013A-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:

> /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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980710144732.2887D-100000>