Re: smmsp user check in Makefile.inc1

2002-05-03 Thread Peter Wemm

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 - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



smmsp user check in Makefile.inc1

2002-05-02 Thread Stephen Hocking


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.


Stephen
-- 
  The views expressed above are not those of PGS Tensor.

We've heard that a million monkeys at a million keyboards could produce
 the Complete Works of Shakespeare; now, thanks to the Internet, we know
 this is not true.Robert Wilensky, University of California



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message