On Tue, 16 May 2000, Chris Thompson wrote:
> Philip Hazel <ph10@???> in thread "How do I ..." writes:
> > What gethostbyname() does is controlled by /etc/resolv.conf (on many
> ^^^^^^^^^^^^^^^^
> > systems). Commonly it looks in /etc/hosts, and only if that fails does
> > it try the DNS.
>
> ITYM /etc/nsswitch.conf there.
Yes, of course I did. Thanks. My brain is definitely fading a lot these
days. :-)
> [Although one probably wouldn't want >65K *separate* entries in a flat
> /etc/passwd -- one would use NIS or one of its friends.]
Or run FreeBSD, which uses DBM passwords automatically and by default.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.