Date: Thu, 02 May 2002 23:40:47 -0700 From: Peter Wemm <peter@wemm.org> To: Stephen Hocking <shocking@houston.rr.com> Cc: current@FreeBSD.ORG Subject: Re: smmsp user check in Makefile.inc1 Message-ID: <20020503064047.684963810@overcee.wemm.org> In-Reply-To: <200205022353.g42Nr2V14108@houston.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Stephen Hocking wrote: > > For those of us using NIS, it'd be nice if the check would be made against the > passwd and group maps if the local passwd and group don't have these users. Actually, the correct fix is to use the id command. It will automagically find it no matter what the passwd source is: peter@overcee[11:38pm]~src/tools/tools/vop_table-148> id -u smmsp 25 peter@overcee[11:38pm]~src/tools/tools/vop_table-149> echo $status 0 peter@overcee[11:38pm]~src/tools/tools/vop_table-150> id -u fake id: fake: no such user peter@overcee[11:38pm]~src/tools/tools/vop_table-151> echo $status 1 Care to whip up a patch? I'll commit it for you. (I'd do it but I'm working on something) Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020503064047.684963810>