Re: command -v in postinsts violating policy
Luca - De Whiskey's - De Vitis <luca@linuxasylum.net> writes:
> On Wed, May 29, 2002 at 02:20:32AM +0200, Kjetil Torgrim Homme wrote:
> > you mean quiet versions of
> >
> > getent passwd $user >/dev/null
> > getent group $group >/dev/null
>
> Neither man page nor the getent --help were so useful, but i suppose
> it is not aware of PAM, for examples.
correct, since PAM isn't used for naming services, but authentication :-).
getent uses the libc API, so it will automatically honour the settings
in nsswitch.conf, and list/lookup in LDAP, NIS+ or whatever the system
is configured to use.
Kjetil T.
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: