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

Reply via email to