Subject: Re: PROPOSAL: id(1) changes
To: None <tech-userlevel@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 04/01/2001 12:28:04
> [I]f I have group "10" I cannot translate that into "wheel" without
> grepping /etc/passwd,

/etc/group

> and that doesn't work in an NIS or hesoid environment.

At least for YP^WNIS, you can "ypmatch 10 group.bygid".  Or even grep
the output of "ypcat group".

> 2) Provide the ability to do something like "ypcat passwd.byname",
> using the password file that the system would see via nsswitch.conf.

This is a nice idea.  But do all your possible password entry data
sources support iterating over all entries?  (I'm just trying to avoid
repeating the getusershell() mistake - the problem I refer to is that a
number of perfectly reasonable configurations cannot be represented
using the interface.  It should have been int okusershell(const char *).)

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B