Date: Thu, 18 Nov 1999 16:10:27 -0500 (EST) From: ak03@gte.com To: FreeBSD-gnats-submit@freebsd.org Subject: bin/14984: pwd_mkdb UID test breaks NIS entries Message-ID: <199911182110.QAA42858@[132.197.97.45]>
index | next in thread | raw e-mail
>Number: 14984
>Category: bin
>Synopsis: incorrect UID test in pwd_mkdb
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 18 13:20:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator: Alexander Kabaev
>Release: FreeBSD 4.0-CURRENT i386
>Organization:
GTE Laboratories Inc.
>Environment:
FreeBSD 4.0-CURRENT #0: Thu Nov 11 10:07:49 EST 1999 ak03@kanpc.gte.com:/usr/src/sys/compile/KANPC
>Description:
passwd file can contain entries such as +:::::: or +user::::::
which allow local override of some account fields while others
are supplied by the NIS. pwd_mkdb utility does not allow entries
with empty uid and gid fields even for NIS accounts.
>How-To-Repeat:
Try to add +:::::: entry to the end of password file with vipw
>Fix:
Index: pw_scan.c
===================================================================
RCS file: /usr/ncvs/src/usr.sbin/pwd_mkdb/pw_scan.c,v
retrieving revision 1.11
diff -r1.11 pw_scan.c
90c90
< else {
---
> else if (pw->pw_name[0] != '+') {
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911182110.QAA42858>
